Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8685/0.8685, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.77/1.77, allocations: 377.9 MB / 0.6229 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.198e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001177/0.001199, allocations: 0.653 MB / 0.9829 GB, free: 1.406 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.002295, allocations: 1.178 MB / 0.984 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.00234, allocations: 4 kB / 0.984 GB, free: 216 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.002368, allocations: 3.938 kB / 0.984 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.172e-05/0.002439, allocations: 19.84 kB / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.002846, allocations: 145.5 kB / 0.9842 GB, free: 48 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.003007, allocations: 143.7 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.003101, allocations: 7.984 kB / 0.9843 GB, free: 15.9 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 9.495e-05/0.003196, allocations: 83.88 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.947e-05/0.003285, allocations: 35.92 kB / 0.9844 GB, free: 15.78 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.003309, allocations: 12 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.946e-05/0.003368, allocations: 27.98 kB / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.003398, allocations: 23.91 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.003459, allocations: 43.95 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.003643, allocations: 151.6 kB / 0.9847 GB, free: 15.53 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003645, allocations: 4 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.064e-06/0.003647, allocations: 3.984 kB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.003651, allocations: 0 / 0.9847 GB, free: 15.52 MB / 0.948 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.0004549/0.004105, allocations: 343.8 kB / 0.985 GB, free: 15.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.00414, allocations: 11.97 kB / 0.985 GB, free: 15.13 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.004189, allocations: 12.89 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.004448, allocations: 149.9 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.004473, allocations: 16.34 kB / 0.9852 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.004494, allocations: 12.38 kB / 0.9852 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.004635, allocations: 86.19 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.004642, allocations: 192 / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.004655, allocations: 8.312 kB / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.00466, allocations: 4.125 kB / 0.9853 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.3e-05/0.004733, allocations: 39.97 kB / 0.9853 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.0051, allocations: 272.4 kB / 0.9856 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.005233, allocations: 82.56 kB / 0.9857 GB, free: 14.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.005276, allocations: 32.84 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.005286, allocations: 4 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.005464, allocations: 131.2 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.005465, allocations: 3.938 kB / 0.9858 GB, free: 14.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0002975/0.005763, allocations: 204.9 kB / 0.986 GB, free: 14.01 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.005795, allocations: 55.39 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.253e-05/0.005858, allocations: 117.8 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.005881, allocations: 33.7 kB / 0.9862 GB, free: 13.78 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.005921, allocations: 88.14 kB / 0.9863 GB, free: 13.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.005946, allocations: 39.88 kB / 0.9864 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.006002, allocations: 45.7 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.376e-05/0.006076, allocations: 318.8 kB / 0.9867 GB, free: 13.28 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.006161, allocations: 77.67 kB / 0.9868 GB, free: 13.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.436e-05/0.006255, allocations: 118 kB / 0.9869 GB, free: 13.06 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.006378, allocations: 137.9 kB / 0.987 GB, free: 12.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.00638, allocations: 0 / 0.987 GB, free: 12.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002372/0.006617, allocations: 240.8 kB / 0.9873 GB, free: 12.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.006646, allocations: 44.19 kB / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.006651, allocations: 4 kB / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.006662, allocations: 0 / 0.9873 GB, free: 12.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.006e-05/0.006712, allocations: 11.94 kB / 0.9873 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.006718, allocations: 4.312 kB / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.006825, allocations: 39.84 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.006839, allocations: 16.06 kB / 0.9874 GB, free: 12.53 MB / 0.948 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 7.281e-05/0.006912, allocations: 126.4 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.006925, allocations: 15.88 kB / 0.9875 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.006951, allocations: 8.438 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006954, allocations: 4 kB / 0.9875 GB, free: 12.37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.006958, allocations: 3.938 kB / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.006962, allocations: 0 / 0.9875 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.007224, allocations: 374.1 kB / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007225, allocations: 3.938 kB / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.007241, allocations: 8 kB / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.007244, allocations: 8 kB / 0.9879 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.597e-06/0.007252, allocations: 0 / 0.9879 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.007253, allocations: 0 / 0.9879 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007254, allocations: 3.938 kB / 0.9879 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.007436, allocations: 277.8 kB / 0.9882 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.007443, allocations: 7.953 kB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.007459, allocations: 0 / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.704e-05/0.007506, allocations: 7.984 kB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.007546, allocations: 15.97 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.007556, allocations: 8 kB / 0.9882 GB, free: 11.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.828e-05/0.007584, allocations: 95.25 kB / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.007584, allocations: 0 / 0.9883 GB, free: 11.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001861/0.00777, allocations: 32 kB / 0.9883 GB, free: 11.49 MB / 0.948 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.0001064/0.007876, allocations: 119.1 kB / 0.9884 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.008095, allocations: 209 kB / 0.9886 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008097, allocations: 0 / 0.9886 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/0.008159, allocations: 47.97 kB / 0.9887 GB, free: 11.09 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.008356, allocations: 27.08 kB / 0.9887 GB, free: 11.07 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.008648, allocations: 215 kB / 0.9889 GB, free: 10.83 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.052e-05/0.008699, allocations: 79.14 kB / 0.989 GB, free: 10.73 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.008728, allocations: 20.48 kB / 0.989 GB, free: 10.71 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/0.008728, allocations: 0 / 0.989 GB, free: 10.71 MB / 0.948 GB Notification: Performance of Templates: time 0.002117/0.01084, allocations: 1.474 MB / 0.9904 GB, free: 9.25 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,noThr.u,noThr.y,noThr.t,noThr.passed,thrTim.u,thrTim.y,thrTim.t,thrTim.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,time [Calling sys.exit(0), Time elapsed: 6.8506949516013265]