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.001305/0.001305, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001441/0.001441, allocations: 219.1 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.144/3.144, allocations: 0.49 GB / 0.7958 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 75.88 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.33, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001838/0.3318, allocations: 0.6714 MB / 1.328 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.3335, allocations: 1.202 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.3335, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.3335, allocations: 3.938 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.814e-05/0.3336, allocations: 19.92 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.3341, allocations: 142.8 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.3344, allocations: 139.8 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.3344, allocations: 8 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.061e-05/0.3345, allocations: 51.91 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3347, allocations: 67.78 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.3347, allocations: 12 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.991e-05/0.3348, allocations: 23.94 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.3348, allocations: 23.97 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.684e-05/0.3349, allocations: 51.84 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.3351, allocations: 135.6 kB / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3351, allocations: 0 / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3351, allocations: 0 / 1.33 GB, free: 14.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3351, allocations: 0 / 1.33 GB, free: 14.88 MB / 1.029 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.0006184/0.3357, allocations: 347.7 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3357, allocations: 8.031 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.722e-05/0.3358, allocations: 8.938 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.3362, allocations: 162.5 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.52e-05/0.3362, allocations: 8.375 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.3363, allocations: 8.375 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.3364, allocations: 86.19 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3364, allocations: 3.938 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.3365, allocations: 4 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3365, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.82e-05/0.3366, allocations: 43.91 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.3372, allocations: 327.7 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.3373, allocations: 78.55 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.292e-05/0.3374, allocations: 28.84 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.3374, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.3377, allocations: 142.6 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.3377, allocations: 0 / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0004164/0.3381, allocations: 205.5 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.3382, allocations: 59.41 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.3383, allocations: 109.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.3383, allocations: 33.7 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.294e-05/0.3384, allocations: 96.09 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3384, allocations: 23.84 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.59e-05/0.3385, allocations: 49.69 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3386, allocations: 322.7 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.3388, allocations: 51.97 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.3389, allocations: 88.22 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.3391, allocations: 137.9 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3391, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003726/0.3395, allocations: 223.1 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.3395, allocations: 33.7 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3395, allocations: 4.125 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3395, allocations: 4 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.3396, allocations: 15.98 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3396, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.3398, allocations: 31.91 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3399, allocations: 15.94 kB / 1.332 GB, free: 11.93 MB / 1.029 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.000148/0.34, allocations: 130.3 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.34, allocations: 11.94 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.152e-05/0.3401, allocations: 12.44 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3401, allocations: 4 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3401, allocations: 0 / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3401, allocations: 3.984 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.3406, allocations: 401.2 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3406, allocations: 0 / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.032e-05/0.3406, allocations: 4 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.3406, allocations: 4 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3406, allocations: 7.984 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.3406, allocations: 0 / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3406, allocations: 0 / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.3409, allocations: 271.3 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.529e-05/0.3409, allocations: 11.89 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.341, allocations: 7.984 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.946e-05/0.3411, allocations: 8 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.3411, allocations: 15.97 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.3411, allocations: 15.92 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.3412, allocations: 83.28 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3412, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002876/0.3415, allocations: 35.98 kB / 1.333 GB, free: 10.85 MB / 1.029 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.0001622/0.3416, allocations: 112.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.3419, allocations: 171.3 kB / 1.334 GB, free: 10.55 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3419, allocations: 12.19 kB / 1.334 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.342, allocations: 47.91 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3423, allocations: 15.98 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.3428, allocations: 224.3 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3431, allocations: 0.6846 MB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.3431, allocations: 19.42 kB / 1.334 GB, free: 9.496 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.3431, allocations: 4 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of Templates: time 0.003403/0.3465, allocations: 1.467 MB / 1.336 GB, free: 8.031 MB / 1.029 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/jenkins1/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: 11.094082605995936]