Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.251/2.251, allocations: 393.5 MB / 408.4 MB, free: 10.92 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.001369/0.001369, allocations: 187.9 kB / 0.4902 GB, free: 2.199 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.549/1.549, allocations: 223.2 MB / 0.7992 GB, free: 14.57 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.001107/0.001107, allocations: 110.8 kB / 0.9396 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004068, allocations: 10.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3123, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.5045, allocations: 150.4 MB / 1.376 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.5048, allocations: 67.97 kB / 1.376 GB, free: 2.922 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006095/0.5109, allocations: 2.091 MB / 1.378 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5109, allocations: 0 / 1.378 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.227e-05/0.511, allocations: 0 / 1.378 GB, free: 0.8281 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004787/0.5115, allocations: 394.3 kB / 1.379 GB, free: 400 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5115, allocations: 24.39 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.5116, allocations: 11.91 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.5117, allocations: 171 kB / 1.379 GB, free: 152 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.5118, allocations: 4 kB / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.5118, allocations: 19.98 kB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.512, allocations: 81.64 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.512, allocations: 0 / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.512, allocations: 3.984 kB / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.512, allocations: 0 / 1.379 GB, free: 36 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.5122, allocations: 39.97 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006583/0.5128, allocations: 380.6 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.513, allocations: 94.58 kB / 1.379 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.513, allocations: 4 kB / 1.379 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.5133, allocations: 147.3 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.5133, allocations: 0 / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0003889/0.5137, allocations: 193.5 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/0.5138, allocations: 67.23 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.5139, allocations: 109 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.5139, allocations: 33.7 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.915e-05/0.514, allocations: 92.12 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.5141, allocations: 31.61 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.5141, allocations: 4 kB / 1.38 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5142, allocations: 318.8 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.5143, allocations: 55.97 kB / 1.38 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.5145, allocations: 84.27 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.5146, allocations: 83.94 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5146, allocations: 0 / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003638/0.515, allocations: 211.1 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.5151, allocations: 37.7 kB / 1.381 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.5151, allocations: 7.984 kB / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.5151, allocations: 0 / 1.381 GB, free: 13.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.5152, allocations: 20 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.5152, allocations: 8 kB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.5154, allocations: 39.97 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.1e-05/0.5154, allocations: 11.98 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001408/0.5156, allocations: 129.8 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.5156, allocations: 15.84 kB / 1.381 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.5157, allocations: 12.48 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5157, allocations: 0 / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5157, allocations: 3.953 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5157, allocations: 4 kB / 1.381 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005162/0.5162, allocations: 426.5 kB / 1.381 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5162, allocations: 4 kB / 1.381 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.5163, allocations: 4 kB / 1.381 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.5163, allocations: 0 / 1.381 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.5163, allocations: 7.922 kB / 1.381 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.5163, allocations: 7.953 kB / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5164, allocations: 0 / 1.381 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.5167, allocations: 266.8 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.5167, allocations: 85 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.5168, allocations: 4 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5169, allocations: 11.98 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.517, allocations: 19.94 kB / 1.382 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.517, allocations: 7.984 kB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.562e-05/0.5171, allocations: 95.25 kB / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5171, allocations: 0 / 1.382 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003224/0.5174, allocations: 36 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002495/0.5177, allocations: 127.9 kB / 1.382 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003844/0.5181, allocations: 195.3 kB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5181, allocations: 0 / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.5182, allocations: 67.98 kB / 1.382 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.5184, allocations: 14.23 kB / 1.382 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004747/0.5189, allocations: 215.3 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5193, allocations: 0.6926 MB / 1.383 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.638e-05/0.5193, allocations: 8.562 kB / 1.383 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.413e-05/0.5194, allocations: 11.44 kB / 1.383 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of SimCode: time 3.31e-07/0.5194, allocations: 0 / 1.383 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of Templates: time 0.004014/0.5234, allocations: 1.485 MB / 1.385 GB, free: 9.762 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches