Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.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.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",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.191/2.191, allocations: 390.5 MB / 398 MB, free: 10.94 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.001124/0.001124, allocations: 180.8 kB / 491.2 MB, free: 1.543 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.674/1.674, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.000959/0.0009588, allocations: 95.52 kB / 0.9269 GB, free: 13.85 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.508e-05/2.51e-05, allocations: 11.98 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3063, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.553, allocations: 149.9 MB / 1.359 GB, free: 17.71 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.553, allocations: 70.36 kB / 1.359 GB, free: 17.71 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01305/1.566, allocations: 3.978 MB / 1.363 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.794e-06/1.566, allocations: 4 kB / 1.363 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.535e-05/1.566, allocations: 0 / 1.363 GB, free: 33.22 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.001061/1.567, allocations: 0.5418 MB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.567, allocations: 8.344 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/1.568, allocations: 37.8 kB / 1.363 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.568, allocations: 171.4 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/1.568, allocations: 11.67 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/1.568, allocations: 38.08 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002572/1.568, allocations: 107.6 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/1.569, allocations: 232.8 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/1.569, allocations: 0 / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/1.569, allocations: 7.469 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/1.569, allocations: 7.797 kB / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/1.57, allocations: 0.5455 MB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/1.57, allocations: 393.4 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/1.57, allocations: 183.7 kB / 1.365 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/1.57, allocations: 3.812 kB / 1.365 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005538/1.571, allocations: 346.6 kB / 1.365 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 2.635e-06/1.571, allocations: 3.938 kB / 1.365 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0008394/1.572, allocations: 488.5 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/1.572, allocations: 65.39 kB / 1.366 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/1.572, allocations: 123.9 kB / 1.366 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/1.572, allocations: 38.84 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/1.572, allocations: 98.98 kB / 1.366 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/1.572, allocations: 95.81 kB / 1.366 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-05/1.572, allocations: 3.969 kB / 1.366 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.572, allocations: 343.2 kB / 1.367 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/1.573, allocations: 126.5 kB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/1.573, allocations: 271.2 kB / 1.367 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/1.573, allocations: 166.3 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/1.573, allocations: 3.844 kB / 1.367 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009448/1.574, allocations: 466.2 kB / 1.368 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/1.574, allocations: 80.27 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.574, allocations: 4.688 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/1.574, allocations: 15.44 kB / 1.368 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/1.575, allocations: 48.28 kB / 1.368 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/1.575, allocations: 11.7 kB / 1.368 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/1.575, allocations: 95.81 kB / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/1.575, allocations: 29.09 kB / 1.368 GB, free: 31 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.000167/1.575, allocations: 154.2 kB / 1.368 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006066/1.576, allocations: 488.8 kB / 1.368 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/1.576, allocations: 29.83 kB / 1.368 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/1.576, allocations: 27.58 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.576, allocations: 7.688 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.576, allocations: 3.984 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/1.576, allocations: 2.812 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/1.577, allocations: 0.9529 MB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.577, allocations: 2.906 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.039e-05/1.578, allocations: 15.16 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/1.578, allocations: 6.797 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/1.578, allocations: 13.42 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.578, allocations: 0 / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.578, allocations: 0 / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/1.578, allocations: 0.6227 MB / 1.37 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/1.578, allocations: 92.64 kB / 1.37 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/1.578, allocations: 17.64 kB / 1.37 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/1.579, allocations: 31.97 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-05/1.579, allocations: 53.45 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/1.579, allocations: 33.09 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.072e-05/1.579, allocations: 98.72 kB / 1.37 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.579, allocations: 3.938 kB / 1.37 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005286/1.579, allocations: 95.25 kB / 1.37 GB, free: 30.07 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.001267/1.581, allocations: 1.342 MB / 1.372 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007568/1.582, allocations: 0.5065 MB / 1.372 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.582, allocations: 0 / 1.372 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002925/1.582, allocations: 280.2 kB / 1.373 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/1.582, allocations: 21.45 kB / 1.373 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009905/1.583, allocations: 395.4 kB / 1.373 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/1.583, allocations: 0.7379 MB / 1.374 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001028/1.584, allocations: 31.66 kB / 1.374 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/1.584, allocations: 61.23 kB / 1.374 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/1.584, allocations: 7.938 kB / 1.374 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/1.613, allocations: 5.197 MB / 1.379 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.613, allocations: 180.3 kB / 1.379 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/3.333, allocations: 0 / 1.379 GB, free: 27.61 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat does not exist to compare? outputFormat=mat