Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.426/2.426, allocations: 390.5 MB / 398 MB, free: 10.98 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.001064/0.001064, allocations: 184.8 kB / 491.2 MB, free: 1.613 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.764/1.764, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009887/0.0009887, allocations: 95.88 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.419e-05/2.407e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3297, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.521, allocations: 149.9 MB / 1.359 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003303/1.521, allocations: 75 kB / 1.359 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01461/1.536, allocations: 3.969 MB / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.314e-06/1.536, allocations: 0 / 1.363 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.3e-05/1.536, allocations: 3.875 kB / 1.363 GB, free: 32.78 MB / 0.8386 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.0007971/1.536, allocations: 0.538 MB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.536, allocations: 8.406 kB / 1.363 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.403e-05/1.537, allocations: 38 kB / 1.363 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/1.537, allocations: 182.3 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/1.537, allocations: 11.3 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.569e-05/1.537, allocations: 37.75 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002051/1.537, allocations: 105 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/1.537, allocations: 232.5 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.537, allocations: 0 / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/1.537, allocations: 8.078 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/1.537, allocations: 11.61 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000842/1.538, allocations: 0.5449 MB / 1.364 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/1.539, allocations: 387.7 kB / 1.365 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/1.539, allocations: 188.3 kB / 1.365 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/1.539, allocations: 7.938 kB / 1.365 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005121/1.54, allocations: 342.2 kB / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 1.994e-06/1.54, allocations: 0 / 1.365 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0007539/1.54, allocations: 489.6 kB / 1.366 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/1.54, allocations: 74.77 kB / 1.366 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/1.54, allocations: 120.7 kB / 1.366 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/1.54, allocations: 40.41 kB / 1.366 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/1.541, allocations: 97.45 kB / 1.366 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.081e-05/1.541, allocations: 99.3 kB / 1.366 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/1.541, allocations: 3.875 kB / 1.366 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.541, allocations: 335.1 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/1.541, allocations: 131.4 kB / 1.367 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/1.541, allocations: 270.9 kB / 1.367 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/1.542, allocations: 161.9 kB / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.542, allocations: 0 / 1.367 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008468/1.543, allocations: 477.3 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/1.543, allocations: 75.34 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.543, allocations: 3.844 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/1.543, allocations: 8.406 kB / 1.368 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/1.543, allocations: 48.19 kB / 1.368 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.543, allocations: 15.75 kB / 1.368 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/1.544, allocations: 98.02 kB / 1.368 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.137e-05/1.544, allocations: 32.14 kB / 1.368 GB, free: 30.56 MB / 0.8386 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 () * 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.0001922/1.544, allocations: 151.1 kB / 1.368 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006125/1.544, allocations: 482 kB / 1.368 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/1.544, allocations: 33.77 kB / 1.368 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/1.545, allocations: 28.17 kB / 1.368 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.545, allocations: 3.844 kB / 1.368 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.545, allocations: 0 / 1.368 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.545, allocations: 2.953 kB / 1.368 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/1.546, allocations: 0.9476 MB / 1.369 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.546, allocations: 7.938 kB / 1.369 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.956e-05/1.546, allocations: 22.19 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/1.546, allocations: 3.781 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/1.546, allocations: 12.98 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.546, allocations: 3.844 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.546, allocations: 0 / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/1.547, allocations: 0.6224 MB / 1.37 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/1.547, allocations: 92.61 kB / 1.37 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/1.547, allocations: 17.69 kB / 1.37 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/1.547, allocations: 32.78 kB / 1.37 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/1.547, allocations: 52.06 kB / 1.37 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/1.547, allocations: 35.25 kB / 1.37 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.01e-05/1.547, allocations: 99.77 kB / 1.37 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.547, allocations: 0 / 1.37 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005049/1.548, allocations: 94.88 kB / 1.37 GB, free: 29.64 MB / 0.8386 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) * 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.001039/1.549, allocations: 1.343 MB / 1.372 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006538/1.549, allocations: 0.4982 MB / 1.372 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.549, allocations: 384 / 1.372 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/1.55, allocations: 288.6 kB / 1.373 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/1.55, allocations: 22.06 kB / 1.373 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/1.551, allocations: 396 kB / 1.373 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/1.551, allocations: 0.7408 MB / 1.374 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001203/1.551, allocations: 31.64 kB / 1.374 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/1.551, allocations: 63.44 kB / 1.374 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of SimCode: time 6.71e-07/1.551, allocations: 0 / 1.374 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/1.579, allocations: 5.184 MB / 1.379 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.58, allocations: 156.1 kB / 1.379 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/3.365, allocations: 0 / 1.379 GB, free: 27.17 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating_res.mat does not exist to compare? outputFormat=mat