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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 198.8 kB / 16.14 MB, free: 6.645 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.565/2.565, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.89 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.854/0.8554, allocations: 140.3 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002296/0.8577, allocations: 0.7355 MB / 0.9497 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.8595, allocations: 1.162 MB / 0.9508 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.8596, allocations: 5.25 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.701e-05/0.8597, allocations: 0 / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.8599, allocations: 9.078 kB / 0.9508 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006549/0.8605, allocations: 136 kB / 0.9509 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.8607, allocations: 126.3 kB / 0.9511 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.8608, allocations: 12.66 kB / 0.9511 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.861, allocations: 56.84 kB / 0.9511 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.8611, allocations: 41.2 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.8611, allocations: 7.25 kB / 0.9512 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.244e-05/0.8612, allocations: 21.92 kB / 0.9512 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.8613, allocations: 15.78 kB / 0.9512 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.8614, allocations: 50.14 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.8616, allocations: 126.7 kB / 0.9514 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.8616, allocations: 5.375 kB / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8616, allocations: 0 / 0.9514 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.8616, allocations: 0 / 0.9514 GB, free: 7.266 MB / 0.7169 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.0006353/0.8623, allocations: 420.7 kB / 0.9518 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.8623, allocations: 9.625 kB / 0.9518 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.8624, allocations: 7.812 kB / 0.9518 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.8629, allocations: 218.2 kB / 0.952 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.8629, allocations: 9.875 kB / 0.952 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.8629, allocations: 13.19 kB / 0.952 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.8631, allocations: 81.38 kB / 0.9521 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.8631, allocations: 5.188 kB / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.8632, allocations: 9.266 kB / 0.9521 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.8632, allocations: 1.062 kB / 0.9521 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.302e-05/0.8633, allocations: 35.31 kB / 0.9521 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.8638, allocations: 359 kB / 0.9525 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.864, allocations: 92.89 kB / 0.9526 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.473e-05/0.8641, allocations: 36.53 kB / 0.9526 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.8641, allocations: 160 / 0.9526 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002911/0.8644, allocations: 143.9 kB / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.8644, allocations: 0 / 0.9528 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004019/0.8648, allocations: 201 kB / 0.9529 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.8649, allocations: 55.47 kB / 0.953 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.8649, allocations: 113.7 kB / 0.9531 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.865, allocations: 37.92 kB / 0.9531 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.865, allocations: 88.2 kB / 0.9532 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.865, allocations: 39.66 kB / 0.9533 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.8651, allocations: 48.5 kB / 0.9533 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.8652, allocations: 321.7 kB / 0.9536 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.8653, allocations: 53.75 kB / 0.9537 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.8654, allocations: 79.05 kB / 0.9537 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.8656, allocations: 150.1 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.8656, allocations: 0.9062 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003262/0.866, allocations: 209 kB / 0.9541 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.866, allocations: 33.42 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.866, allocations: 1.469 kB / 0.9541 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.866, allocations: 5.656 kB / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.8661, allocations: 11.95 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8661, allocations: 2.438 kB / 0.9541 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.8663, allocations: 34.38 kB / 0.9542 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.8664, allocations: 8.344 kB / 0.9542 GB, free: 4.758 MB / 0.7169 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.0001088/0.8665, allocations: 137.6 kB / 0.9543 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.8665, allocations: 9.688 kB / 0.9543 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.306e-05/0.8665, allocations: 9.812 kB / 0.9543 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8665, allocations: 1.5 kB / 0.9543 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.8666, allocations: 3.984 kB / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8666, allocations: 0 / 0.9543 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.8669, allocations: 435 kB / 0.9547 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8669, allocations: 0 / 0.9547 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.867, allocations: 8.375 kB / 0.9548 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.867, allocations: 1.469 kB / 0.9548 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.867, allocations: 13.36 kB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.867, allocations: 1.406 kB / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.867, allocations: 0 / 0.9548 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.8673, allocations: 258.9 kB / 0.955 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.8673, allocations: 80.17 kB / 0.9551 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.8673, allocations: 7.641 kB / 0.9551 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.8674, allocations: 6.031 kB / 0.9551 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.8675, allocations: 18.03 kB / 0.9551 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.8675, allocations: 13.78 kB / 0.9551 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.122e-05/0.8675, allocations: 92.16 kB / 0.9552 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8675, allocations: 1.219 kB / 0.9552 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002749/0.8678, allocations: 31.09 kB / 0.9553 GB, free: 3.793 MB / 0.7169 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.0001768/0.868, allocations: 117.6 kB / 0.9554 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003085/0.8683, allocations: 191.8 kB / 0.9556 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8683, allocations: 4.25 kB / 0.9556 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.8684, allocations: 71.36 kB / 0.9556 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.8687, allocations: 19.77 kB / 0.9556 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003856/0.8691, allocations: 202.8 kB / 0.9558 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.8693, allocations: 0.7019 MB / 0.9565 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.344e-05/0.8693, allocations: 11.42 kB / 0.9565 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.102e-05/0.8693, allocations: 12.19 kB / 0.9565 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.8694, allocations: 0 / 0.9565 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of Templates: time 0.004211/0.8736, allocations: 1.527 MB / 0.958 GB, free: 1.852 MB / 0.7169 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches