Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides",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.329/2.329, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001232/0.001232, allocations: 172.3 kB / 498.1 MB, free: 5.738 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.517/1.517, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0008881/0.000888, allocations: 103.8 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003634, allocations: 6.938 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2745, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.4517, allocations: 150.7 MB / 1.37 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.452, allocations: 71.95 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01142/0.4635, allocations: 3.902 MB / 1.374 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4635, allocations: 7.938 kB / 1.374 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.4636, allocations: 4 kB / 1.374 GB, free: 7.219 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008524/0.4644, allocations: 0.5206 MB / 1.375 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4645, allocations: 12.02 kB / 1.375 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.4645, allocations: 50.55 kB / 1.375 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.4646, allocations: 23.72 kB / 1.375 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.4648, allocations: 194.3 kB / 1.375 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.4648, allocations: 16 kB / 1.375 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.4649, allocations: 27.98 kB / 1.375 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.4654, allocations: 243.2 kB / 1.375 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4654, allocations: 0 / 1.375 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.4655, allocations: 7.938 kB / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.4655, allocations: 4 kB / 1.375 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006068/0.4661, allocations: 223.8 kB / 1.375 GB, free: 5.793 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.4671, allocations: 0.6757 MB / 1.376 GB, free: 5.062 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.4676, allocations: 201.1 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.4676, allocations: 4 kB / 1.376 GB, free: 4.844 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004686/0.4681, allocations: 187.6 kB / 1.376 GB, free: 4.645 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.4681, allocations: 7.938 kB / 1.376 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.001059/0.4691, allocations: 369.8 kB / 1.377 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.4692, allocations: 81.11 kB / 1.377 GB, free: 4.172 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.4694, allocations: 161.7 kB / 1.377 GB, free: 4.004 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.4694, allocations: 33.7 kB / 1.377 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.4695, allocations: 128.3 kB / 1.377 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.4696, allocations: 51.34 kB / 1.377 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.4696, allocations: 4 kB / 1.377 GB, free: 3.781 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4697, allocations: 326.8 kB / 1.377 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.4701, allocations: 119.9 kB / 1.378 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.4704, allocations: 148.9 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.4708, allocations: 137.7 kB / 1.378 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4708, allocations: 4 kB / 1.378 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008011/0.4716, allocations: 346.9 kB / 1.378 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.4716, allocations: 45.64 kB / 1.378 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4716, allocations: 0 / 1.378 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4717, allocations: 4 kB / 1.378 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.4719, allocations: 43.97 kB / 1.378 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.4719, allocations: 3.984 kB / 1.378 GB, free: 2.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.4723, allocations: 71.8 kB / 1.378 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.4723, allocations: 11.98 kB / 1.378 GB, free: 2.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$PRE.heaOff.y,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001434/0.4724, allocations: 141.7 kB / 1.378 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.4725, allocations: 15.81 kB / 1.379 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.4725, allocations: 25.34 kB / 1.379 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4725, allocations: 4 kB / 1.379 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4726, allocations: 0 / 1.379 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4726, allocations: 4 kB / 1.379 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.4728, allocations: 277.5 kB / 1.379 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4728, allocations: 0 / 1.379 GB, free: 1.984 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.4731, allocations: 47.89 kB / 1.379 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4731, allocations: 4 kB / 1.379 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.4731, allocations: 8 kB / 1.379 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4731, allocations: 7.953 kB / 1.379 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4732, allocations: 0 / 1.379 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000672/0.4738, allocations: 300.1 kB / 1.379 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.4739, allocations: 92.92 kB / 1.379 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.4739, allocations: 3.953 kB / 1.379 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.4741, allocations: 31.97 kB / 1.379 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.499e-05/0.4742, allocations: 23.97 kB / 1.379 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.4742, allocations: 15.92 kB / 1.379 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.601e-05/0.4743, allocations: 123.2 kB / 1.379 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4743, allocations: 0 / 1.379 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002772/0.4746, allocations: 63.78 kB / 1.379 GB, free: 1.23 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,heaOff.y,ove.oveDamPos,ove.intEqu4.y,ove.cloDam.u,ove.or2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001037/0.4756, allocations: 0.9265 MB / 1.38 GB, free: 276 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007479/0.4764, allocations: 327.4 kB / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4764, allocations: 0 / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003456/0.4768, allocations: 128.1 kB / 1.381 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.477, allocations: 23.98 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.4781, allocations: 1.078 MB / 1.382 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4785, allocations: 0.736 MB / 1.383 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.018e-05/0.4786, allocations: 20.59 kB / 1.383 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.4787, allocations: 59.41 kB / 1.383 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of SimCode: time 4.278e-06/0.4787, allocations: 0 / 1.383 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/0.4942, allocations: 4.059 MB / 1.387 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.4944, allocations: 231.1 kB / 1.387 GB, free: 9.727 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/2.199, allocations: 2.406 kB / 1.387 GB, free: 9.727 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat