Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.6/2.6, allocations: 390.5 MB / 398 MB, free: 10.96 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.001219/0.001219, allocations: 184.8 kB / 491.2 MB, free: 1.59 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.618/1.618, allocations: 221.5 MB / 0.7868 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009501/0.00095, allocations: 99.67 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.506e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3641, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.461/1.825, allocations: 401.8 MB / 1.605 GB, free: 12.34 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/1.826, allocations: 89.94 kB / 1.605 GB, free: 12.29 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 7.226/9.052, allocations: 1.527 GB / 3.132 GB, free: 215.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.929e-06/9.052, allocations: 0 / 3.132 GB, free: 215.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004136/9.052, allocations: 51.48 kB / 3.132 GB, free: 215.2 MB / 1.167 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.006277/9.059, allocations: 1.884 MB / 3.134 GB, free: 214.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/9.059, allocations: 10.06 kB / 3.134 GB, free: 214.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003894/9.063, allocations: 0.6004 MB / 3.135 GB, free: 214.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005106/9.068, allocations: 1.436 MB / 3.136 GB, free: 214.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.164e-05/9.068, allocations: 33.69 kB / 3.136 GB, free: 214.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004803/9.068, allocations: 71.94 kB / 3.136 GB, free: 214.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002304/9.071, allocations: 0.8328 MB / 3.137 GB, free: 214.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/9.073, allocations: 1.061 MB / 3.138 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/9.073, allocations: 0 / 3.138 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/9.073, allocations: 4.219 kB / 3.138 GB, free: 214 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/9.073, allocations: 31.42 kB / 3.138 GB, free: 214 MB / 1.167 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.009257/9.082, allocations: 6.454 MB / 3.144 GB, free: 210.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/9.084, allocations: 0.8956 MB / 3.145 GB, free: 210.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006518/9.085, allocations: 499.4 kB / 3.146 GB, free: 210.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/9.086, allocations: 2.255 MB / 3.148 GB, free: 207.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008472/9.087, allocations: 0.6421 MB / 3.149 GB, free: 207.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=97): time 4.158e-06/9.087, allocations: 2.219 kB / 3.149 GB, free: 207.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=97): time 0.003659/9.091, allocations: 1.394 MB / 3.15 GB, free: 207.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/9.091, allocations: 155.7 kB / 3.15 GB, free: 207.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/9.092, allocations: 0.8932 MB / 3.151 GB, free: 207 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/9.093, allocations: 33.28 kB / 3.151 GB, free: 207 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007115/9.093, allocations: 0.711 MB / 3.152 GB, free: 206.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/9.094, allocations: 317.8 kB / 3.152 GB, free: 206.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/9.094, allocations: 0 / 3.152 GB, free: 206.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001047/9.094, allocations: 345.9 kB / 3.152 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/9.094, allocations: 403 kB / 3.153 GB, free: 206.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007281/9.095, allocations: 0.6751 MB / 3.153 GB, free: 206.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/9.097, allocations: 0.6699 MB / 3.154 GB, free: 206 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/9.097, allocations: 2.156 kB / 3.154 GB, free: 206 MB / 1.167 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003504/9.101, allocations: 1.566 MB / 3.156 GB, free: 205.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006391/9.101, allocations: 2.234 MB / 3.158 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/9.101, allocations: 7.375 kB / 3.158 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-05/9.101, allocations: 12.75 kB / 3.158 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/9.103, allocations: 291.6 kB / 3.158 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.399e-05/9.103, allocations: 15.53 kB / 3.158 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/9.105, allocations: 213.4 kB / 3.158 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001953/9.105, allocations: 66.47 kB / 3.158 GB, free: 203.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/9.105, allocations: 4.406 kB / 3.158 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003495/9.108, allocations: 1.429 MB / 3.16 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/9.108, allocations: 3.062 kB / 3.16 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/9.108, allocations: 11.62 kB / 3.16 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/9.11, allocations: 297.3 kB / 3.16 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/9.11, allocations: 13.41 kB / 3.16 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/9.112, allocations: 205.1 kB / 3.16 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/9.112, allocations: 67.47 kB / 3.16 GB, free: 203.6 MB / 1.167 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.0004875/9.113, allocations: 247.8 kB / 3.16 GB, free: 203.3 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004013/9.117, allocations: 1.438 MB / 3.162 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005973/9.117, allocations: 152 kB / 3.162 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/9.122, allocations: 1.988 MB / 3.164 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/9.122, allocations: 22.44 kB / 3.164 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/9.122, allocations: 6.797 kB / 3.164 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/9.122, allocations: 10.17 kB / 3.164 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007643/9.13, allocations: 3.199 MB / 3.167 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/9.13, allocations: 3.328 kB / 3.167 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/9.131, allocations: 232.6 kB / 3.167 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-05/9.131, allocations: 3.25 kB / 3.167 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/9.131, allocations: 32.48 kB / 3.167 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/9.131, allocations: 12.97 kB / 3.167 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/9.131, allocations: 0 / 3.167 GB, free: 202.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/9.136, allocations: 2.669 MB / 3.17 GB, free: 202.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/9.137, allocations: 400.5 kB / 3.17 GB, free: 202.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000496/9.138, allocations: 11.62 kB / 3.17 GB, free: 202.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/9.139, allocations: 153.5 kB / 3.171 GB, free: 202.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/9.14, allocations: 70.73 kB / 3.171 GB, free: 202.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/9.14, allocations: 54.88 kB / 3.171 GB, free: 202.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001368/9.141, allocations: 0.6763 MB / 3.171 GB, free: 201.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/9.141, allocations: 0 / 3.171 GB, free: 201.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003837/9.145, allocations: 0.8952 MB / 3.172 GB, free: 201.9 MB / 1.167 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.007431/9.152, allocations: 4.337 MB / 3.176 GB, free: 200.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003271/9.156, allocations: 2.215 MB / 3.179 GB, free: 200.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/9.156, allocations: 0 / 3.179 GB, free: 200.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/9.157, allocations: 0.8706 MB / 3.179 GB, free: 199.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003242/9.16, allocations: 0.508 MB / 3.18 GB, free: 199.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/9.168, allocations: 2.98 MB / 3.183 GB, free: 199.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/9.169, allocations: 1.312 MB / 3.184 GB, free: 198.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002564/9.171, allocations: 480 kB / 3.185 GB, free: 198.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008753/9.172, allocations: 0.6275 MB / 3.185 GB, free: 198.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.813e-06/9.172, allocations: 3.406 kB / 3.185 GB, free: 198.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09794/9.27, allocations: 45.21 MB / 3.229 GB, free: 197 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/9.27, allocations: 192.6 kB / 3.23 GB, free: 196.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.99/13.26, allocations: 1.688 kB / 3.23 GB, free: 196.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_dynamic.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic_res.mat does not exist to compare? outputFormat=mat