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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001707, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.037/3.037, allocations: 472.7 MB / 0.7452 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 68.34 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4421/0.4434, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002165/0.4456, allocations: 0.6626 MB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.4472, allocations: 1.157 MB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.4473, allocations: 0 / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/0.4474, allocations: 3.938 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.351e-05/0.4475, allocations: 11.92 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.448, allocations: 154.7 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001826/0.4482, allocations: 147.7 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.4484, allocations: 12 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.791e-05/0.4485, allocations: 55.89 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.4486, allocations: 51.88 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.4486, allocations: 12 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.4487, allocations: 23.98 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.4487, allocations: 19.92 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.92e-05/0.4488, allocations: 59.81 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002199/0.4491, allocations: 120 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4491, allocations: 0 / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.434e-06/0.4491, allocations: 0 / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.4491, allocations: 4 kB / 1.071 GB, free: 7.902 MB / 0.8262 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.0006317/0.4497, allocations: 425 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4498, allocations: 8.031 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.4499, allocations: 12.84 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.4503, allocations: 208.4 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.4503, allocations: 8.359 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.4504, allocations: 12.38 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.4506, allocations: 90.19 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4506, allocations: 3.938 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4506, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4506, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.4507, allocations: 43.91 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.4513, allocations: 360.5 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.4515, allocations: 90.55 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.4515, allocations: 40.84 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.4516, allocations: 3.938 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.4519, allocations: 131.3 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.4519, allocations: 4 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0003888/0.4523, allocations: 197.5 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.4523, allocations: 59.41 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.4524, allocations: 113.7 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.4525, allocations: 33.7 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.4525, allocations: 96.22 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.4526, allocations: 23.7 kB / 1.073 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.4527, allocations: 53.62 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4528, allocations: 322.8 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4529, allocations: 55.88 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.453, allocations: 84.27 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.4532, allocations: 145.4 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4532, allocations: 0 / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000354/0.4536, allocations: 211.1 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.4536, allocations: 33.7 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4536, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4536, allocations: 0 / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/0.4537, allocations: 15.98 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.4537, allocations: 7.938 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.454, allocations: 36.03 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.454, allocations: 12 kB / 1.073 GB, free: 4.742 MB / 0.8262 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 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.4541, allocations: 131.5 kB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.4541, allocations: 7.906 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.4542, allocations: 8.5 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4542, allocations: 4 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4542, allocations: 4 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4542, allocations: 7.922 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.4547, allocations: 438.4 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4547, allocations: 0 / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.4547, allocations: 4 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4547, allocations: 0 / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.4547, allocations: 11.98 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4547, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4547, allocations: 0 / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.455, allocations: 263.3 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.4551, allocations: 88.95 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.4551, allocations: 7.984 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.412e-05/0.4552, allocations: 4 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.4553, allocations: 19.97 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.4553, allocations: 7.938 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.4553, allocations: 91.27 kB / 1.075 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4553, allocations: 4 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002791/0.4556, allocations: 32 kB / 1.075 GB, free: 3.531 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002024/0.4558, allocations: 112.3 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.4562, allocations: 195.2 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4562, allocations: 4 kB / 1.075 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.4563, allocations: 63.97 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.4566, allocations: 30.61 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.457, allocations: 197.5 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.4573, allocations: 0.6885 MB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.649e-05/0.4574, allocations: 12.55 kB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.4574, allocations: 15.44 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4574, allocations: 0 / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of Templates: time 0.004472/0.4619, allocations: 1.644 MB / 1.077 GB, free: 0.5273 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches