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.359/2.359, allocations: 390.5 MB / 398 MB, free: 10.91 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.001072/0.001072, allocations: 180.2 kB / 491.2 MB, free: 1.559 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.603/1.603, 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.001069/0.00107, allocations: 97.59 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.111e-05/2.114e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3157, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.396, allocations: 149.7 MB / 1.358 GB, free: 17.74 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/1.397, allocations: 70.25 kB / 1.359 GB, free: 17.74 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006331/1.403, allocations: 2.065 MB / 1.361 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.383e-06/1.403, allocations: 4 kB / 1.361 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.655e-06/1.403, allocations: 3.844 kB / 1.361 GB, free: 33.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004849/1.404, allocations: 397.5 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.404, allocations: 11.53 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.714e-05/1.404, allocations: 16.17 kB / 1.361 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.643e-05/1.404, allocations: 170 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.404, allocations: 3.969 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/1.404, allocations: 10.86 kB / 1.361 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.495e-05/1.404, allocations: 40.28 kB / 1.361 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/1.404, allocations: 74.19 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.404, allocations: 3.844 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/1.404, allocations: 0 / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.404, allocations: 0 / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/1.405, allocations: 353.8 kB / 1.362 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/1.405, allocations: 95.09 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/1.405, allocations: 35.23 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/1.405, allocations: 0 / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/1.405, allocations: 116 kB / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/1.405, allocations: 0 / 1.362 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002763/1.406, allocations: 155 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/1.406, allocations: 63.42 kB / 1.362 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/1.406, allocations: 102.4 kB / 1.362 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/1.406, allocations: 33.58 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/1.406, allocations: 92.97 kB / 1.362 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/1.406, allocations: 28 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/1.406, allocations: 4 kB / 1.362 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/1.406, allocations: 321.5 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/1.406, allocations: 44.78 kB / 1.363 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/1.406, allocations: 78.23 kB / 1.363 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/1.406, allocations: 55.7 kB / 1.363 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.406, allocations: 3.938 kB / 1.363 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000323/1.407, allocations: 172.3 kB / 1.363 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/1.407, allocations: 38.67 kB / 1.363 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/1.407, allocations: 3 kB / 1.363 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/1.407, allocations: 5.141 kB / 1.363 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.166e-05/1.407, allocations: 9.328 kB / 1.363 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/1.407, allocations: 3.953 kB / 1.363 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/1.407, allocations: 47.97 kB / 1.363 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/1.407, allocations: 13.27 kB / 1.363 GB, free: 31.59 MB / 0.8386 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 () * 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 8.426e-05/1.407, allocations: 116.9 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/1.407, allocations: 8.859 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/1.407, allocations: 9.609 kB / 1.363 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.407, allocations: 7.594 kB / 1.363 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.407, allocations: 0 / 1.363 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.407, allocations: 5.125 kB / 1.363 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/1.408, allocations: 392.4 kB / 1.364 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.408, allocations: 0 / 1.364 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/1.408, allocations: 9.312 kB / 1.364 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/1.408, allocations: 7.812 kB / 1.364 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/1.408, allocations: 1.453 kB / 1.364 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.408, allocations: 0 / 1.364 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.408, allocations: 0 / 1.364 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002123/1.408, allocations: 247.2 kB / 1.364 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/1.408, allocations: 93.84 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/1.408, allocations: 1.5 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.206e-05/1.408, allocations: 14.86 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/1.408, allocations: 9.344 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/1.408, allocations: 14.09 kB / 1.364 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.863e-05/1.408, allocations: 92.03 kB / 1.364 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.408, allocations: 0 / 1.364 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002512/1.408, allocations: 36.45 kB / 1.364 GB, free: 30.86 MB / 0.8386 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) * 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.0001829/1.409, allocations: 114.1 kB / 1.364 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002396/1.409, allocations: 181.1 kB / 1.364 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.409, allocations: 0 / 1.364 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.872e-05/1.409, allocations: 69.62 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/1.409, allocations: 16.2 kB / 1.364 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/1.409, allocations: 118.2 kB / 1.365 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/1.41, allocations: 0.6964 MB / 1.365 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.977e-05/1.41, allocations: 11.56 kB / 1.365 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/1.41, allocations: 15.28 kB / 1.365 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.41, allocations: 0 / 1.365 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.00381/1.414, allocations: 1.424 MB / 1.367 GB, free: 29.78 MB / 0.8386 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