Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001054/0.001054, allocations: 176.8 kB / 487.4 MB, free: 5.07 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.747/1.747, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 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: 99.72 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.29e-05/2.292e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3133, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9847/1.298, allocations: 148.9 MB / 1.351 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003782/1.298, allocations: 69.8 kB / 1.351 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01216/1.311, allocations: 2.073 MB / 1.353 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.725e-06/1.311, allocations: 0 / 1.353 GB, free: 33.97 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.311, allocations: 0 / 1.353 GB, free: 33.97 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.0005929/1.311, allocations: 398 kB / 1.354 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/1.311, allocations: 7.75 kB / 1.354 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/1.312, allocations: 8.609 kB / 1.354 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/1.312, allocations: 176.4 kB / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/1.312, allocations: 8.672 kB / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/1.312, allocations: 16.5 kB / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001582/1.312, allocations: 33 kB / 1.354 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/1.312, allocations: 73.75 kB / 1.354 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/1.312, allocations: 0 / 1.354 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/1.312, allocations: 1.828 kB / 1.354 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/1.312, allocations: 0 / 1.354 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009352/1.313, allocations: 354.6 kB / 1.354 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/1.313, allocations: 86.73 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.528e-05/1.314, allocations: 34.33 kB / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/1.314, allocations: 0 / 1.355 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/1.314, allocations: 119 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/1.314, allocations: 3.938 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0004395/1.314, allocations: 151 kB / 1.355 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.314, allocations: 61.7 kB / 1.355 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/1.315, allocations: 101.7 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/1.315, allocations: 34.06 kB / 1.355 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/1.315, allocations: 91.98 kB / 1.355 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/1.315, allocations: 27.16 kB / 1.355 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/1.315, allocations: 2.875 kB / 1.355 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.315, allocations: 325.7 kB / 1.355 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/1.315, allocations: 47.17 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/1.315, allocations: 73.39 kB / 1.356 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/1.316, allocations: 58.98 kB / 1.356 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.316, allocations: 0 / 1.356 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006277/1.316, allocations: 170.8 kB / 1.356 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.839e-05/1.316, allocations: 40.41 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.316, allocations: 0 / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.317, allocations: 7.781 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/1.317, allocations: 17.59 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.317, allocations: 0.6094 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/1.317, allocations: 52.47 kB / 1.356 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/1.317, allocations: 11.52 kB / 1.356 GB, free: 32.23 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 0.0001326/1.317, allocations: 114.6 kB / 1.356 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/1.317, allocations: 8.516 kB / 1.356 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/1.317, allocations: 9.484 kB / 1.356 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.317, allocations: 3.812 kB / 1.356 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/1.317, allocations: 3.016 kB / 1.356 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/1.317, allocations: 0.75 kB / 1.356 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005472/1.318, allocations: 396.7 kB / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/1.318, allocations: 4 kB / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/1.318, allocations: 5.234 kB / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/1.318, allocations: 0 / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/1.318, allocations: 5.656 kB / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/1.318, allocations: 0.7031 kB / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.318, allocations: 0 / 1.356 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/1.318, allocations: 251.6 kB / 1.357 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/1.319, allocations: 90.22 kB / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/1.319, allocations: 8.656 kB / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/1.319, allocations: 10.95 kB / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/1.319, allocations: 14.23 kB / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/1.319, allocations: 8.578 kB / 1.357 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.076e-05/1.319, allocations: 86.92 kB / 1.357 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.42e-07/1.319, allocations: 0 / 1.357 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004929/1.319, allocations: 32.5 kB / 1.357 GB, free: 31.5 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.000244/1.32, allocations: 126.7 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003944/1.32, allocations: 178.8 kB / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.32, allocations: 0 / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/1.32, allocations: 66.72 kB / 1.357 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/1.321, allocations: 10.88 kB / 1.357 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/1.321, allocations: 121.9 kB / 1.357 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/1.321, allocations: 0.7009 MB / 1.358 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.749e-05/1.322, allocations: 10.73 kB / 1.358 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/1.322, allocations: 12.06 kB / 1.358 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.322, allocations: 0 / 1.358 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of Templates: time 0.006683/1.328, allocations: 1.429 MB / 1.36 GB, free: 30.42 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches