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.339/2.339, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001062/0.001062, allocations: 176 kB / 0.4902 GB, free: 2.25 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.638/1.638, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009247/0.0009247, allocations: 96.27 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 10.28 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2767, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.4735, allocations: 150.7 MB / 1.376 GB, free: 2.836 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4738, allocations: 67.97 kB / 1.376 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.4855, allocations: 4.015 MB / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4856, allocations: 0 / 1.38 GB, free: 14.74 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.4856, allocations: 4 kB / 1.38 GB, free: 14.74 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008022/0.4864, allocations: 0.5432 MB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4864, allocations: 8.562 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.626e-05/0.4865, allocations: 39.75 kB / 1.381 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.4867, allocations: 170.9 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.4867, allocations: 24.22 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.4868, allocations: 39.98 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004217/0.4872, allocations: 258.1 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.4872, allocations: 4 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/0.4873, allocations: 11.98 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4873, allocations: 4 kB / 1.381 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.4875, allocations: 136.5 kB / 1.382 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008644/0.4884, allocations: 0.5793 MB / 1.382 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.4889, allocations: 427.6 kB / 1.383 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.4889, allocations: 4 kB / 1.383 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005572/0.4895, allocations: 378.2 kB / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=46): time 1.623e-06/0.4895, allocations: 0 / 1.383 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46): time 0.001042/0.4906, allocations: 0.6783 MB / 1.384 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4906, allocations: 63.16 kB / 1.384 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.4907, allocations: 135.9 kB / 1.384 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.4908, allocations: 57.69 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.4909, allocations: 97.14 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.49e-05/0.491, allocations: 110.7 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.491, allocations: 12 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4911, allocations: 338.8 kB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.4914, allocations: 149.1 kB / 1.384 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.4918, allocations: 295.2 kB / 1.385 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.4921, allocations: 208.6 kB / 1.385 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.4921, allocations: 4 kB / 1.385 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008326/0.4929, allocations: 0.5734 MB / 1.386 GB, free: 9.117 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.75e-05/0.493, allocations: 73.2 kB / 1.386 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.493, allocations: 7.953 kB / 1.386 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/0.4931, allocations: 12 kB / 1.386 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.4932, allocations: 43.86 kB / 1.386 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.4932, allocations: 7.984 kB / 1.386 GB, free: 8.965 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004871/0.4937, allocations: 111.7 kB / 1.386 GB, free: 8.855 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.4938, allocations: 31.98 kB / 1.386 GB, free: 8.824 MB / 0.8855 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.0002153/0.494, allocations: 186.8 kB / 1.386 GB, free: 8.633 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.4941, allocations: 27.8 kB / 1.386 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.4941, allocations: 22.31 kB / 1.386 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.4942, allocations: 8.016 kB / 1.386 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.4942, allocations: 8 kB / 1.386 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.4942, allocations: 3.984 kB / 1.386 GB, free: 8.566 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.4957, allocations: 1.062 MB / 1.387 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4957, allocations: 3.984 kB / 1.387 GB, free: 7.438 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.333e-05/0.4957, allocations: 12 kB / 1.387 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.4958, allocations: 4 kB / 1.387 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.4958, allocations: 19.97 kB / 1.387 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4958, allocations: 3.938 kB / 1.387 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4958, allocations: 0 / 1.387 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.4966, allocations: 0.6679 MB / 1.388 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/0.4967, allocations: 96.81 kB / 1.388 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.4968, allocations: 23.98 kB / 1.388 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.497, allocations: 39.95 kB / 1.388 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.4971, allocations: 51.81 kB / 1.388 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/0.4971, allocations: 39.97 kB / 1.388 GB, free: 6.43 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.33e-05/0.4972, allocations: 99.27 kB / 1.388 GB, free: 6.332 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.442e-06/0.4972, allocations: 0 / 1.388 GB, free: 6.332 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004201/0.4976, allocations: 107.9 kB / 1.388 GB, free: 6.227 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.000248/0.4979, allocations: 159.9 kB / 1.388 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007713/0.4986, allocations: 0.5569 MB / 1.389 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4987, allocations: 3.938 kB / 1.389 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.499, allocations: 300.1 kB / 1.389 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.4993, allocations: 31.25 kB / 1.389 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.5001, allocations: 0.496 MB / 1.39 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.5004, allocations: 0.7384 MB / 1.39 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.616e-05/0.5005, allocations: 34.97 kB / 1.39 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.365e-05/0.5006, allocations: 35.42 kB / 1.391 GB, free: 3.801 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5006, allocations: 0 / 1.391 GB, free: 3.801 MB / 0.8855 GB Notification: Performance of Templates: time 0.006941/0.5075, allocations: 3.829 MB / 1.394 GB, free: 20 kB / 0.8855 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