Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.0009922/0.000992, allocations: 99.55 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.0009514/0.0009516, 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.38/1.38, 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.375/2.375, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.000393, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6559/0.6563, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1472/0.8036, allocations: 140.2 MB / 1.09 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.8208, allocations: 13.93 MB / 1.104 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.822, allocations: 23.81 kB / 1.104 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009881/0.823, allocations: 318.2 kB / 1.104 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003539/0.8266, allocations: 1.222 MB / 1.106 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.8294, allocations: 1.004 MB / 1.107 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002537/0.832, allocations: 1.491 MB / 1.108 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.8341, allocations: 1.449 MB / 1.109 GB, free: 184 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00177/0.8359, allocations: 0.8601 MB / 1.11 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008001/0.8367, allocations: 0.614 MB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.8368, allocations: 40 kB / 1.111 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.839, allocations: 0.8932 MB / 1.112 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003584/0.8393, allocations: 346.7 kB / 1.112 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003625/0.8397, allocations: 340.7 kB / 1.112 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.8421, allocations: 2.163 MB / 1.115 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.8421, allocations: 0 / 1.115 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8421, allocations: 4 kB / 1.115 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.8421, allocations: 0 / 1.115 GB, free: 10.91 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.003234/0.8453, allocations: 1.882 MB / 1.116 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.8454, allocations: 12.03 kB / 1.116 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00029/0.8457, allocations: 252.9 kB / 1.117 GB, free: 8.699 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003399/0.8491, allocations: 0.5206 MB / 1.117 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.8508, allocations: 1.044 MB / 1.118 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.539e-05/0.8509, allocations: 127.4 kB / 1.118 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.8511, allocations: 168 kB / 1.118 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/0.854, allocations: 1.82 MB / 1.12 GB, free: 4.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.8541, allocations: 3.984 kB / 1.12 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.8542, allocations: 76 kB / 1.12 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.8543, allocations: 40 kB / 1.12 GB, free: 4.812 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003112/0.8574, allocations: 1.863 MB / 1.122 GB, free: 2.945 MB / 0.8731 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.007826/0.8652, allocations: 5.209 MB / 1.127 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002906/0.8682, allocations: 1.503 MB / 1.129 GB, free: 11.98 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/0.8687, allocations: 470.8 kB / 1.129 GB, free: 11.43 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.8702, allocations: 0.8801 MB / 1.13 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=146): time 3.446e-06/0.8702, allocations: 0 / 1.13 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of matching and sorting (n=146): time 0.005871/0.8761, allocations: 2.555 MB / 1.133 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/0.8762, allocations: 197.2 kB / 1.133 GB, free: 7.621 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.8774, allocations: 0.827 MB / 1.134 GB, free: 6.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001508/0.8775, allocations: 57.7 kB / 1.134 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005123/0.878, allocations: 0.6485 MB / 1.134 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.8784, allocations: 492.9 kB / 1.135 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.8785, allocations: 24 kB / 1.135 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8787, allocations: 349.9 kB / 1.135 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009396/0.8796, allocations: 470.3 kB / 1.135 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.8807, allocations: 0.6223 MB / 1.136 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.8817, allocations: 0.5296 MB / 1.137 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.8818, allocations: 0 / 1.137 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003373/0.8851, allocations: 1.487 MB / 1.138 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.8852, allocations: 8 kB / 1.138 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8852, allocations: 0 / 1.138 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009035/0.8861, allocations: 192.2 kB / 1.138 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.8876, allocations: 335.7 kB / 1.139 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005581/0.8932, allocations: 6.818 MB / 1.145 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.8949, allocations: 175.7 kB / 1.145 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.895, allocations: 55.89 kB / 1.145 GB, free: 9.773 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009458/0.896, allocations: 373.5 kB / 1.146 GB, free: 9.398 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/0.8963, allocations: 134.4 kB / 1.146 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/0.9003, allocations: 1.842 MB / 1.148 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/0.9003, allocations: 16 kB / 1.148 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.9003, allocations: 0 / 1.148 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.9003, allocations: 11.97 kB / 1.148 GB, free: 7.367 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005584/0.9059, allocations: 3.274 MB / 1.151 GB, free: 4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.906, allocations: 0 / 1.151 GB, free: 4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.9074, allocations: 327.5 kB / 1.151 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007965/0.9082, allocations: 192.4 kB / 1.151 GB, free: 3.477 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.9084, allocations: 43.97 kB / 1.152 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005173/0.9135, allocations: 6.854 MB / 1.158 GB, free: 11.91 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.9136, allocations: 7.938 kB / 1.158 GB, free: 11.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/0.9173, allocations: 1.852 MB / 1.16 GB, free: 9.941 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008204/0.9182, allocations: 422.9 kB / 1.16 GB, free: 9.508 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.9183, allocations: 28 kB / 1.16 GB, free: 9.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.9196, allocations: 140.9 kB / 1.161 GB, free: 9.344 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.9198, allocations: 121.1 kB / 1.161 GB, free: 9.223 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/0.92, allocations: 75.91 kB / 1.161 GB, free: 9.148 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007838/0.9208, allocations: 0.5746 MB / 1.161 GB, free: 8.562 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9208, allocations: 0 / 1.161 GB, free: 8.562 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001526/0.9223, allocations: 0.5804 MB / 1.162 GB, free: 7.98 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005294/0.9276, allocations: 3.575 MB / 1.165 GB, free: 4.504 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003124/0.9308, allocations: 1.824 MB / 1.167 GB, free: 2.613 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.9308, allocations: 4.797 kB / 1.167 GB, free: 2.609 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002032/0.9328, allocations: 1.321 MB / 1.168 GB, free: 1.227 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.935, allocations: 447 kB / 1.169 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.9529, allocations: 8.916 MB / 1.178 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.9544, allocations: 1.332 MB / 1.179 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002231/0.9567, allocations: 438.1 kB / 1.179 GB, free: 5.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.9578, allocations: 0.6593 MB / 1.18 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of SimCode: time 1.713e-06/0.9578, allocations: 0 / 1.18 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06761/1.025, allocations: 36.83 MB / 1.216 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/1.026, allocations: 262.2 kB / 1.216 GB, free: 408 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/3.752, allocations: 0 / 1.216 GB, free: 408 kB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat does not exist to compare? outputFormat=mat