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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001264/0.001264, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001861/0.001862, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.536/2.536, allocations: 390.9 MB / 0.666 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004022, allocations: 12 kB / 0.8154 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8594/0.8598, allocations: 142.4 MB / 0.9545 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0008557/0.8607, allocations: 389.7 kB / 0.9548 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.862, allocations: 1.135 MB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.451e-05/0.862, allocations: 1.125 kB / 0.9559 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.8621, allocations: 3.938 kB / 0.9559 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.8622, allocations: 12.73 kB / 0.956 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004705/0.8626, allocations: 118.1 kB / 0.9561 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.8628, allocations: 123.2 kB / 0.9562 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.604e-05/0.8629, allocations: 8.984 kB / 0.9562 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.436e-05/0.863, allocations: 48.05 kB / 0.9562 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.8631, allocations: 45.22 kB / 0.9563 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.8631, allocations: 10.38 kB / 0.9563 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.8632, allocations: 22.02 kB / 0.9563 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.8632, allocations: 19.38 kB / 0.9563 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.45e-05/0.8633, allocations: 42.27 kB / 0.9564 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.8634, allocations: 86.33 kB / 0.9565 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8634, allocations: 1.156 kB / 0.9565 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8634, allocations: 0 / 0.9565 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.8634, allocations: 0 / 0.9565 GB, free: 6.184 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.0005091/0.864, allocations: 400.8 kB / 0.9568 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.864, allocations: 8.938 kB / 0.9568 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.8641, allocations: 11.92 kB / 0.9569 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.8644, allocations: 221.8 kB / 0.9571 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.8645, allocations: 12.06 kB / 0.9571 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.8645, allocations: 14.11 kB / 0.9571 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.8647, allocations: 88.67 kB / 0.9572 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.8647, allocations: 0 / 0.9572 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.8647, allocations: 5.234 kB / 0.9572 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8647, allocations: 1.25 kB / 0.9572 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.8648, allocations: 44.8 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.8653, allocations: 360.7 kB / 0.9576 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.8655, allocations: 92.64 kB / 0.9577 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.8656, allocations: 43.58 kB / 0.9577 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.8656, allocations: 1.062 kB / 0.9577 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.8659, allocations: 130.3 kB / 0.9578 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.8659, allocations: 0 / 0.9578 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0003923/0.8663, allocations: 201.5 kB / 0.958 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.8663, allocations: 55.56 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.574e-05/0.8664, allocations: 122 kB / 0.9582 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.8665, allocations: 37.31 kB / 0.9582 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.8665, allocations: 88.8 kB / 0.9583 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.8665, allocations: 28.27 kB / 0.9583 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.8666, allocations: 9.5 kB / 0.9583 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.8666, allocations: 317 kB / 0.9586 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-05/0.8667, allocations: 46.41 kB / 0.9587 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.8668, allocations: 86.48 kB / 0.9588 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.867, allocations: 78.78 kB / 0.9588 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.867, allocations: 1.812 kB / 0.9588 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003233/0.8673, allocations: 213.2 kB / 0.9591 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.8673, allocations: 36.56 kB / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8674, allocations: 1.688 kB / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.8674, allocations: 2.75 kB / 0.9591 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.8675, allocations: 10.81 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.8675, allocations: 2.75 kB / 0.9591 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.8677, allocations: 48.95 kB / 0.9592 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.8677, allocations: 12.23 kB / 0.9592 GB, free: 3.77 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 ($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 9.246e-05/0.8678, allocations: 129.8 kB / 0.9593 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.8678, allocations: 21.34 kB / 0.9593 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.8679, allocations: 13.86 kB / 0.9593 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.8679, allocations: 1.375 kB / 0.9593 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8679, allocations: 3.938 kB / 0.9593 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8679, allocations: 0 / 0.9593 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.8683, allocations: 427.6 kB / 0.9597 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8683, allocations: 7.891 kB / 0.9597 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.686e-05/0.8683, allocations: 4.125 kB / 0.9597 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.8683, allocations: 5.359 kB / 0.9597 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.8683, allocations: 9.375 kB / 0.9598 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.8683, allocations: 1.375 kB / 0.9598 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8683, allocations: 0 / 0.9598 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.8686, allocations: 264.1 kB / 0.96 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.8686, allocations: 87.72 kB / 0.9601 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.8687, allocations: 2.75 kB / 0.9601 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.8687, allocations: 16.11 kB / 0.9601 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.8688, allocations: 13.48 kB / 0.9601 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.8688, allocations: 14.86 kB / 0.9601 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.8689, allocations: 79.41 kB / 0.9602 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8689, allocations: 1.375 kB / 0.9602 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002782/0.8692, allocations: 35.48 kB / 0.9603 GB, free: 2.797 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 (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.0001707/0.8693, allocations: 110.9 kB / 0.9604 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.8697, allocations: 197.6 kB / 0.9605 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8697, allocations: 0 / 0.9605 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.8698, allocations: 74.17 kB / 0.9606 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.8701, allocations: 16.81 kB / 0.9606 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.8705, allocations: 208.7 kB / 0.9608 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.8707, allocations: 0.6951 MB / 0.9615 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.123e-05/0.8708, allocations: 9.516 kB / 0.9615 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.8708, allocations: 13.44 kB / 0.9615 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8708, allocations: 0 / 0.9615 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of Templates: time 0.004148/0.875, allocations: 1.447 MB / 0.9629 GB, free: 0.9062 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