Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.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.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.247/2.247, allocations: 393.5 MB / 408.4 MB, free: 11 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.001292/0.001291, allocations: 186.4 kB / 0.4901 GB, free: 2.195 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.514/1.514, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.000851/0.0008511, allocations: 96.33 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003721, allocations: 14.09 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2723, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1805/0.4528, allocations: 151.5 MB / 1.377 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.4531, allocations: 79.95 kB / 1.377 GB, free: 1.77 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.4644, allocations: 3.901 MB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4645, allocations: 0 / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.4645, allocations: 8 kB / 1.381 GB, free: 13.85 MB / 0.8855 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.0008337/0.4653, allocations: 0.5168 MB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4654, allocations: 16.56 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.4654, allocations: 50.55 kB / 1.382 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.4655, allocations: 23.72 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.4657, allocations: 199.4 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.4657, allocations: 12 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.4658, allocations: 27.98 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.4663, allocations: 247.1 kB / 1.382 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4664, allocations: 0 / 1.382 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.4664, allocations: 15.98 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.4664, allocations: 4 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.467, allocations: 219.8 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009521/0.468, allocations: 0.6796 MB / 1.383 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.4685, allocations: 197.2 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.4685, allocations: 0 / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004704/0.469, allocations: 193 kB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 1.352e-06/0.469, allocations: 0 / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.001016/0.47, allocations: 361.1 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.4701, allocations: 77.11 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.4702, allocations: 170.7 kB / 1.384 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.4703, allocations: 37.64 kB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.398e-05/0.4704, allocations: 144.5 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.4704, allocations: 39.36 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.4705, allocations: 8 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4706, allocations: 326.8 kB / 1.385 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.4709, allocations: 115.9 kB / 1.385 GB, free: 9.965 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.4713, allocations: 152 kB / 1.385 GB, free: 9.805 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.4717, allocations: 149.6 kB / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4717, allocations: 0 / 1.385 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008571/0.4725, allocations: 343 kB / 1.385 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.4726, allocations: 43.52 kB / 1.385 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4726, allocations: 0 / 1.385 GB, free: 9.258 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4726, allocations: 4 kB / 1.385 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.4729, allocations: 47.91 kB / 1.385 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.4729, allocations: 7.984 kB / 1.385 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.4732, allocations: 63.86 kB / 1.385 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-05/0.4733, allocations: 11.98 kB / 1.385 GB, free: 9.125 MB / 0.8855 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.0001441/0.4734, allocations: 133.8 kB / 1.386 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.4735, allocations: 15.81 kB / 1.386 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.4735, allocations: 25.34 kB / 1.386 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4735, allocations: 7.938 kB / 1.386 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4735, allocations: 0 / 1.386 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.4736, allocations: 0 / 1.386 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.4738, allocations: 281.5 kB / 1.386 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4738, allocations: 0 / 1.386 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.4741, allocations: 47.95 kB / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4741, allocations: 0 / 1.386 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.4741, allocations: 8 kB / 1.386 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4741, allocations: 3.953 kB / 1.386 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4741, allocations: 0 / 1.386 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006845/0.4748, allocations: 307.2 kB / 1.386 GB, free: 8.219 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.4749, allocations: 88.92 kB / 1.386 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.4749, allocations: 7.953 kB / 1.386 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.4751, allocations: 31.97 kB / 1.386 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.4752, allocations: 27.91 kB / 1.386 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.4752, allocations: 8.297 kB / 1.386 GB, free: 8.039 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.245e-05/0.4753, allocations: 128.3 kB / 1.387 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4753, allocations: 0 / 1.387 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000271/0.4756, allocations: 47.94 kB / 1.387 GB, free: 7.867 MB / 0.8855 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.001102/0.4767, allocations: 0.9306 MB / 1.388 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000764/0.4775, allocations: 327.1 kB / 1.388 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4775, allocations: 0 / 1.388 GB, free: 6.57 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.4778, allocations: 128 kB / 1.388 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.4781, allocations: 32.91 kB / 1.388 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4792, allocations: 1.073 MB / 1.389 GB, free: 5.273 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.4795, allocations: 0.7321 MB / 1.39 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.614e-05/0.4796, allocations: 12.64 kB / 1.39 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.4797, allocations: 63.41 kB / 1.39 GB, free: 4.445 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.4797, allocations: 0 / 1.39 GB, free: 4.445 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.4952, allocations: 4.083 MB / 1.394 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.4954, allocations: 219.6 kB / 1.394 GB, free: 380 kB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.285, allocations: 4 kB / 1.394 GB, free: 376 kB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_TerminalUnits_Reheat_Subsequences_Validation_Overrides.fmu > Buildings_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.Reheat.Subsequences.Validation.Overrides_res.mat does not exist to compare? outputFormat=mat