Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 172.8 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009093/0.0009094, allocations: 105.4 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.892e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3654, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/1.702, allocations: 401 MB / 1.598 GB, free: 4.637 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.702, allocations: 90.69 kB / 1.598 GB, free: 4.59 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.416/8.118, allocations: 1.527 GB / 3.125 GB, free: 203 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.485e-06/8.118, allocations: 0 / 3.125 GB, free: 203 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001834/8.119, allocations: 55.14 kB / 3.125 GB, free: 203 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.0049/8.123, allocations: 1.873 MB / 3.127 GB, free: 202.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.886e-05/8.124, allocations: 17.58 kB / 3.127 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003642/8.127, allocations: 0.6016 MB / 3.128 GB, free: 202.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004191/8.131, allocations: 1.432 MB / 3.129 GB, free: 201.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/8.131, allocations: 33.56 kB / 3.129 GB, free: 201.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/8.132, allocations: 70.62 kB / 3.129 GB, free: 201.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001654/8.133, allocations: 0.8291 MB / 3.13 GB, free: 201.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/8.135, allocations: 1.061 MB / 3.131 GB, free: 201.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/8.135, allocations: 5.625 kB / 3.131 GB, free: 201.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-05/8.135, allocations: 7.562 kB / 3.131 GB, free: 201.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/8.135, allocations: 26.34 kB / 3.131 GB, free: 201.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.008722/8.144, allocations: 6.446 MB / 3.137 GB, free: 197.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/8.145, allocations: 0.9001 MB / 3.138 GB, free: 197.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005926/8.146, allocations: 495.7 kB / 3.139 GB, free: 197.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/8.147, allocations: 2.264 MB / 3.141 GB, free: 195.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007899/8.148, allocations: 0.6406 MB / 3.141 GB, free: 195.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 4.709e-06/8.148, allocations: 2.688 kB / 3.141 GB, free: 195.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.003804/8.152, allocations: 1.399 MB / 3.143 GB, free: 195.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/8.152, allocations: 143 kB / 3.143 GB, free: 194.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/8.154, allocations: 0.9017 MB / 3.144 GB, free: 194.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/8.154, allocations: 29.39 kB / 3.144 GB, free: 194.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006136/8.154, allocations: 0.7082 MB / 3.145 GB, free: 194.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/8.155, allocations: 318 kB / 3.145 GB, free: 194.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/8.155, allocations: 3.719 kB / 3.145 GB, free: 194.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001141/8.155, allocations: 344.4 kB / 3.145 GB, free: 194.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005864/8.155, allocations: 405.8 kB / 3.146 GB, free: 194.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007601/8.156, allocations: 0.6694 MB / 3.146 GB, free: 193.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/8.158, allocations: 0.6694 MB / 3.147 GB, free: 193.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/8.158, allocations: 0 / 3.147 GB, free: 193.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003536/8.162, allocations: 1.56 MB / 3.148 GB, free: 193.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007392/8.163, allocations: 2.243 MB / 3.151 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/8.163, allocations: 3.875 kB / 3.151 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.232e-05/8.163, allocations: 14 kB / 3.151 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/8.164, allocations: 294.6 kB / 3.151 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/8.164, allocations: 15.59 kB / 3.151 GB, free: 191.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/8.166, allocations: 217 kB / 3.151 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/8.166, allocations: 64.69 kB / 3.151 GB, free: 191.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/8.166, allocations: 5.031 kB / 3.151 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003279/8.169, allocations: 1.428 MB / 3.153 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/8.169, allocations: 3.875 kB / 3.153 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/8.169, allocations: 11.62 kB / 3.153 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/8.171, allocations: 288.5 kB / 3.153 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/8.171, allocations: 13.03 kB / 3.153 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/8.172, allocations: 211.7 kB / 3.153 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/8.173, allocations: 68.62 kB / 3.153 GB, free: 191.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003746/8.173, allocations: 241.5 kB / 3.153 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00323/8.176, allocations: 1.442 MB / 3.155 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/8.176, allocations: 150.5 kB / 3.155 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/8.18, allocations: 1.988 MB / 3.157 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/8.18, allocations: 17.33 kB / 3.157 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/8.18, allocations: 0 / 3.157 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/8.181, allocations: 11.22 kB / 3.157 GB, free: 190.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006256/8.187, allocations: 3.208 MB / 3.16 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/8.187, allocations: 0 / 3.16 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/8.188, allocations: 227.3 kB / 3.16 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/8.188, allocations: 7.094 kB / 3.16 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.513e-05/8.188, allocations: 33.98 kB / 3.16 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/8.188, allocations: 3.156 kB / 3.16 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/8.188, allocations: 3.719 kB / 3.16 GB, free: 190.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/8.193, allocations: 2.68 MB / 3.163 GB, free: 190 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009295/8.194, allocations: 391.6 kB / 3.163 GB, free: 189.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/8.194, allocations: 15.58 kB / 3.163 GB, free: 189.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/8.196, allocations: 159.2 kB / 3.163 GB, free: 189.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/8.196, allocations: 69.78 kB / 3.163 GB, free: 189.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/8.196, allocations: 50.91 kB / 3.164 GB, free: 189.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00118/8.197, allocations: 0.6808 MB / 3.164 GB, free: 189.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/8.197, allocations: 3 kB / 3.164 GB, free: 189.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003609/8.201, allocations: 0.8843 MB / 3.165 GB, free: 189.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00694/8.208, allocations: 4.331 MB / 3.169 GB, free: 188.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00308/8.211, allocations: 2.215 MB / 3.171 GB, free: 187.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/8.211, allocations: 0 / 3.171 GB, free: 187.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009942/8.212, allocations: 0.8766 MB / 3.172 GB, free: 187.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/8.215, allocations: 0.511 MB / 3.173 GB, free: 187.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/8.222, allocations: 2.971 MB / 3.176 GB, free: 186.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/8.224, allocations: 1.32 MB / 3.177 GB, free: 186.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002464/8.226, allocations: 478.1 kB / 3.177 GB, free: 186.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008249/8.227, allocations: 0.6334 MB / 3.178 GB, free: 186.1 MB / 1.151 GB Notification: Performance of SimCode: time 9.52e-07/8.227, allocations: 0 / 3.178 GB, free: 186.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09243/8.319, allocations: 45.22 MB / 3.222 GB, free: 184.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/8.32, allocations: 181 kB / 3.222 GB, free: 184.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/12.14, allocations: 0 / 3.222 GB, free: 184.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat does not exist to compare? outputFormat=mat