Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 16 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7533, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2274/0.9808, allocations: 198.1 MB / 1.147 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.9981, allocations: 12.02 MB / 1.159 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/1, allocations: 47.62 kB / 1.159 GB, free: 13.54 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00321/1.003, allocations: 0.9334 MB / 1.16 GB, free: 12.6 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007752/1.011, allocations: 2.235 MB / 1.162 GB, free: 10.36 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004398/1.016, allocations: 1.418 MB / 1.163 GB, free: 8.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004385/1.02, allocations: 1.968 MB / 1.165 GB, free: 6.988 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/1.022, allocations: 0.8155 MB / 1.166 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007916/1.03, allocations: 2.442 MB / 1.168 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/1.031, allocations: 0.5793 MB / 1.169 GB, free: 3.133 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/1.031, allocations: 48 kB / 1.169 GB, free: 3.086 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/1.033, allocations: 383.5 kB / 1.169 GB, free: 2.711 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/1.033, allocations: 378.8 kB / 1.17 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003671/1.033, allocations: 285 kB / 1.17 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/1.035, allocations: 1.048 MB / 1.171 GB, free: 1.004 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/1.035, allocations: 0 / 1.171 GB, free: 1.004 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.834e-06/1.035, allocations: 0 / 1.171 GB, free: 1.004 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.041e-05/1.035, allocations: 0 / 1.171 GB, free: 1.004 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002006/1.037, allocations: 1.394 MB / 1.172 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.037, allocations: 8.031 kB / 1.172 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/1.037, allocations: 126.7 kB / 1.173 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006101/1.037, allocations: 202.2 kB / 1.173 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/1.039, allocations: 0.7889 MB / 1.173 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/1.039, allocations: 125.4 kB / 1.174 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.696e-05/1.039, allocations: 84 kB / 1.174 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/1.04, allocations: 0.9259 MB / 1.175 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.04, allocations: 7.938 kB / 1.175 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/1.04, allocations: 32 kB / 1.175 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/1.04, allocations: 20 kB / 1.175 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/1.041, allocations: 0.515 MB / 1.175 GB, free: 12.56 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005046/1.046, allocations: 4.888 MB / 1.18 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/1.047, allocations: 412.7 kB / 1.18 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/1.047, allocations: 15.92 kB / 1.18 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/1.047, allocations: 50.66 kB / 1.18 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/1.047, allocations: 0 / 1.18 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=31): time 0.001853/1.049, allocations: 0.8055 MB / 1.181 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/1.049, allocations: 401.5 kB / 1.182 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/1.051, allocations: 1.256 MB / 1.183 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/1.051, allocations: 41.7 kB / 1.183 GB, free: 4.105 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/1.051, allocations: 0.5533 MB / 1.183 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/1.051, allocations: 110.4 kB / 1.183 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/1.051, allocations: 8 kB / 1.183 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001072/1.051, allocations: 321.9 kB / 1.184 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/1.052, allocations: 95.94 kB / 1.184 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/1.052, allocations: 342.4 kB / 1.184 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/1.052, allocations: 147.7 kB / 1.184 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.052, allocations: 0 / 1.184 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008111/1.053, allocations: 0.4899 MB / 1.185 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.053, allocations: 8 kB / 1.185 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/1.053, allocations: 4 kB / 1.185 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002889/1.053, allocations: 69.67 kB / 1.185 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/1.054, allocations: 59.94 kB / 1.185 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/1.056, allocations: 3.039 MB / 1.188 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008115/1.057, allocations: 111.2 kB / 1.188 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/1.057, allocations: 24 kB / 1.188 GB, free: 14.32 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003898/1.057, allocations: 273.6 kB / 1.188 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/1.057, allocations: 142.3 kB / 1.188 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/1.058, allocations: 124 kB / 1.189 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/1.058, allocations: 8 kB / 1.189 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.058, allocations: 7.953 kB / 1.189 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/1.058, allocations: 7.984 kB / 1.189 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/1.061, allocations: 2.524 MB / 1.191 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.061, allocations: 4 kB / 1.191 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/1.061, allocations: 55.91 kB / 1.191 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/1.061, allocations: 69.67 kB / 1.191 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/1.061, allocations: 11.94 kB / 1.191 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/1.063, allocations: 2.947 MB / 1.194 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.063, allocations: 4 kB / 1.194 GB, free: 7.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/1.064, allocations: 1.002 MB / 1.195 GB, free: 6.477 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004476/1.065, allocations: 255.5 kB / 1.195 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/1.065, allocations: 12 kB / 1.195 GB, free: 6.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/1.066, allocations: 71.8 kB / 1.195 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/1.066, allocations: 51.8 kB / 1.195 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/1.066, allocations: 16 kB / 1.195 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001109/1.067, allocations: 0.8646 MB / 1.196 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.067, allocations: 0 / 1.196 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001068/1.068, allocations: 263.8 kB / 1.197 GB, free: 4.938 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002185/1.07, allocations: 3.105 MB / 1.2 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009901/1.071, allocations: 0.5166 MB / 1.2 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.071, allocations: 0 / 1.2 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005202/1.072, allocations: 411 kB / 1.2 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.076, allocations: 0.7557 MB / 1.201 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004847/1.08, allocations: 4.888 MB / 1.206 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007728/1.081, allocations: 1.154 MB / 1.207 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000992/1.082, allocations: 242.7 kB / 1.207 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/1.083, allocations: 439.3 kB / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of SimCode: time 7.92e-07/1.083, allocations: 0 / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05936/1.142, allocations: 31.98 MB / 1.239 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/1.142, allocations: 270.4 kB / 1.239 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/3.515, allocations: 2.953 kB / 1.239 GB, free: 9.223 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat does not exist to compare? outputFormat=mat