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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|thrTim.u|thrTim.passed|thrTim.y|thrTim.t|noThrWitRes.u|noThrWitRes.reset|noThrWitRes.y|noThrWitRes.t|thrTimWitRes.u|thrTimWitRes.reset|thrTimWitRes.passed|thrTimWitRes.y|thrTimWitRes.t",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.712/2.712, 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.001387/0.001387, allocations: 172.9 kB / 491.2 MB, free: 1.59 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.726/1.726, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009236/0.0009238, allocations: 99.77 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.215e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.346, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.412, allocations: 149.9 MB / 1.359 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/1.412, allocations: 69.27 kB / 1.359 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01105/1.423, allocations: 3.975 MB / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.423, allocations: 0 / 1.363 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.14e-05/1.423, allocations: 4 kB / 1.363 GB, free: 33.05 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.0007227/1.424, allocations: 0.5309 MB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.424, allocations: 11.44 kB / 1.363 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/1.424, allocations: 42.19 kB / 1.363 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/1.424, allocations: 172.5 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/1.424, allocations: 7.766 kB / 1.363 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/1.424, allocations: 39.3 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002217/1.425, allocations: 108.3 kB / 1.364 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/1.425, allocations: 227.8 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.425, allocations: 0 / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/1.425, allocations: 8.359 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/1.425, allocations: 7.703 kB / 1.364 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008122/1.426, allocations: 0.5556 MB / 1.364 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/1.426, allocations: 386.3 kB / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/1.426, allocations: 187.6 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/1.426, allocations: 7.781 kB / 1.365 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000471/1.427, allocations: 332 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=46): time 1.653e-06/1.427, allocations: 7.875 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46): time 0.0006911/1.428, allocations: 489.7 kB / 1.366 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/1.428, allocations: 65.23 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/1.428, allocations: 125.8 kB / 1.366 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.277e-05/1.428, allocations: 44.75 kB / 1.366 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/1.428, allocations: 94.58 kB / 1.366 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.791e-05/1.428, allocations: 101.6 kB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/1.428, allocations: 3.844 kB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001119/1.428, allocations: 337.2 kB / 1.366 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/1.428, allocations: 127.5 kB / 1.367 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/1.429, allocations: 275.5 kB / 1.367 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/1.429, allocations: 157.5 kB / 1.367 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/1.429, allocations: 3.75 kB / 1.367 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007594/1.43, allocations: 480.4 kB / 1.367 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/1.43, allocations: 67.78 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.43, allocations: 3.875 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/1.43, allocations: 8.375 kB / 1.368 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/1.43, allocations: 55.47 kB / 1.368 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/1.43, allocations: 14.5 kB / 1.368 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/1.43, allocations: 96.23 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/1.43, allocations: 33.72 kB / 1.368 GB, free: 30.85 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.0001541/1.431, allocations: 153.7 kB / 1.368 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/1.431, allocations: 37.53 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/1.431, allocations: 20.38 kB / 1.368 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.431, allocations: 3.875 kB / 1.368 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.431, allocations: 7.828 kB / 1.368 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/1.431, allocations: 4.641 kB / 1.368 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/1.432, allocations: 0.9465 MB / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.432, allocations: 8.016 kB / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.569e-05/1.432, allocations: 21.77 kB / 1.369 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.432, allocations: 0 / 1.369 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/1.432, allocations: 16.12 kB / 1.369 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/1.432, allocations: 0 / 1.369 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.432, allocations: 3.844 kB / 1.369 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005638/1.433, allocations: 0.6118 MB / 1.37 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/1.433, allocations: 96.33 kB / 1.37 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/1.433, allocations: 19.7 kB / 1.37 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.433, allocations: 30.53 kB / 1.37 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/1.433, allocations: 52.2 kB / 1.37 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/1.433, allocations: 34.97 kB / 1.37 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.256e-05/1.433, allocations: 100.1 kB / 1.37 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.21e-07/1.433, allocations: 0 / 1.37 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003874/1.433, allocations: 90.89 kB / 1.37 GB, free: 29.97 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.0001969/1.434, allocations: 152 kB / 1.37 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005479/1.434, allocations: 0.5159 MB / 1.371 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.434, allocations: 0 / 1.371 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002587/1.435, allocations: 278.7 kB / 1.371 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/1.435, allocations: 32.11 kB / 1.371 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/1.435, allocations: 330.5 kB / 1.371 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/1.436, allocations: 0.7427 MB / 1.372 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.86e-05/1.436, allocations: 31.48 kB / 1.372 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.52e-05/1.436, allocations: 36.59 kB / 1.372 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.436, allocations: 4 kB / 1.372 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of Templates: time 0.006131/1.442, allocations: 3.669 MB / 1.376 GB, free: 28.61 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches