Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",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.419/2.419, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001242/0.001242, allocations: 185.1 kB / 498.1 MB, free: 5.766 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.604/1.604, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.0009282/0.0009281, allocations: 99.89 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 6.938 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2679, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1817/0.4497, allocations: 149.9 MB / 1.369 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/0.4499, allocations: 67.97 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01213/0.4621, allocations: 4.003 MB / 1.373 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4621, allocations: 0 / 1.373 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.4622, allocations: 0 / 1.373 GB, free: 7.973 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001082/0.4633, allocations: 0.5519 MB / 1.374 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.4633, allocations: 11.97 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.4634, allocations: 50.53 kB / 1.374 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.4636, allocations: 35.75 kB / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.4637, allocations: 171 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.282e-05/0.4638, allocations: 28.22 kB / 1.374 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-05/0.4639, allocations: 39.97 kB / 1.374 GB, free: 6.969 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.4644, allocations: 262.1 kB / 1.374 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4644, allocations: 0 / 1.374 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.4644, allocations: 11.98 kB / 1.374 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4645, allocations: 0 / 1.374 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.4647, allocations: 136.6 kB / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.4658, allocations: 0.5908 MB / 1.375 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.4664, allocations: 423.6 kB / 1.376 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.4664, allocations: 0 / 1.376 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006147/0.467, allocations: 365.8 kB / 1.376 GB, free: 5.113 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=46): time 2.394e-06/0.467, allocations: 4 kB / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46): time 0.001118/0.4682, allocations: 0.6808 MB / 1.377 GB, free: 4.422 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.4682, allocations: 67.16 kB / 1.377 GB, free: 4.344 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.4684, allocations: 128 kB / 1.377 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.4684, allocations: 61.69 kB / 1.377 GB, free: 4.145 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.4685, allocations: 101.1 kB / 1.377 GB, free: 4.043 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.4686, allocations: 106.7 kB / 1.377 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.4687, allocations: 12 kB / 1.377 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4688, allocations: 338.8 kB / 1.377 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.4691, allocations: 145.1 kB / 1.377 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/0.4695, allocations: 295.2 kB / 1.378 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.4698, allocations: 229.2 kB / 1.378 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4699, allocations: 0 / 1.378 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008854/0.4707, allocations: 0.5656 MB / 1.379 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.4708, allocations: 77.03 kB / 1.379 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.4708, allocations: 4 kB / 1.379 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4709, allocations: 8 kB / 1.379 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.471, allocations: 47.84 kB / 1.379 GB, free: 2.137 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.471, allocations: 8 kB / 1.379 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.4715, allocations: 107.8 kB / 1.379 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.4716, allocations: 31.98 kB / 1.379 GB, free: 1.992 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0001875/0.4718, allocations: 178.9 kB / 1.379 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.736e-05/0.4718, allocations: 31.8 kB / 1.379 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.99e-05/0.4719, allocations: 30.27 kB / 1.379 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4719, allocations: 4 kB / 1.379 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4719, allocations: 7.922 kB / 1.379 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4719, allocations: 3.984 kB / 1.379 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001516/0.4735, allocations: 1.062 MB / 1.38 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4735, allocations: 64 / 1.38 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.4736, allocations: 23.94 kB / 1.38 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4736, allocations: 0 / 1.38 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.4736, allocations: 19.97 kB / 1.38 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.4736, allocations: 4 kB / 1.38 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4736, allocations: 0 / 1.38 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007945/0.4744, allocations: 0.673 MB / 1.381 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.4745, allocations: 100.8 kB / 1.381 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.4746, allocations: 19.98 kB / 1.381 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.4748, allocations: 43.95 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/0.4749, allocations: 47.88 kB / 1.381 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.4749, allocations: 35.97 kB / 1.381 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.443e-05/0.475, allocations: 95.27 kB / 1.381 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.61e-07/0.475, allocations: 0 / 1.381 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004439/0.4754, allocations: 112 kB / 1.381 GB, free: 15.39 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001214/0.4767, allocations: 1.393 MB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008001/0.4775, allocations: 0.5567 MB / 1.383 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4775, allocations: 0 / 1.383 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003585/0.4778, allocations: 312 kB / 1.383 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.4781, allocations: 29.22 kB / 1.383 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.4802, allocations: 3.726 MB / 1.387 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.4805, allocations: 0.7345 MB / 1.388 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.994e-05/0.4806, allocations: 34.95 kB / 1.388 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.4807, allocations: 59.42 kB / 1.388 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.4807, allocations: 0 / 1.388 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.4997, allocations: 5.517 MB / 1.393 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/0.4999, allocations: 188.8 kB / 1.393 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.465, allocations: 0 / 1.393 GB, free: 2.738 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat does not exist to compare? outputFormat=mat