Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 249.9 MB, free: 3.25 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.669/2.669, allocations: 489.7 MB / 0.7761 GB, free: 2.355 MB / 0.6075 GB [Timeout remaining time 87] 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.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=516,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=516,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 71.88 kB / 1.127 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.8689, allocations: 172 MB / 1.295 GB, free: 38.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001595/0.8705, allocations: 0.7421 MB / 1.296 GB, free: 38.24 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.8716, allocations: 1.273 MB / 1.297 GB, free: 37.32 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.8717, allocations: 0 / 1.297 GB, free: 37.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.8717, allocations: 7.875 kB / 1.297 GB, free: 37.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.8718, allocations: 25.86 kB / 1.297 GB, free: 37.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.8723, allocations: 247.2 kB / 1.297 GB, free: 37.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.8725, allocations: 253.1 kB / 1.297 GB, free: 37.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.8726, allocations: 14.91 kB / 1.297 GB, free: 37.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.8727, allocations: 103 kB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.8728, allocations: 94.78 kB / 1.298 GB, free: 36.97 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.8729, allocations: 27.22 kB / 1.298 GB, free: 36.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.8729, allocations: 35.97 kB / 1.298 GB, free: 36.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.873, allocations: 32.23 kB / 1.298 GB, free: 36.95 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.476e-05/0.873, allocations: 93.19 kB / 1.298 GB, free: 36.9 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.8732, allocations: 227.7 kB / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8732, allocations: 0 / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8732, allocations: 0 / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.8732, allocations: 0 / 1.298 GB, free: 36.82 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000572/0.8738, allocations: 0.4964 MB / 1.298 GB, free: 36.36 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.8738, allocations: 11.41 kB / 1.298 GB, free: 36.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.8739, allocations: 16.39 kB / 1.298 GB, free: 36.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.8744, allocations: 252.4 kB / 1.299 GB, free: 36.13 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.8744, allocations: 10.88 kB / 1.299 GB, free: 36.13 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.8744, allocations: 24.03 kB / 1.299 GB, free: 36.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.8746, allocations: 140.3 kB / 1.299 GB, free: 36.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.8746, allocations: 3.938 kB / 1.299 GB, free: 36.04 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.8746, allocations: 6.109 kB / 1.299 GB, free: 36.04 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.8747, allocations: 0 / 1.299 GB, free: 36.04 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.8748, allocations: 60.67 kB / 1.299 GB, free: 36.03 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.8753, allocations: 0.5165 MB / 1.299 GB, free: 35.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.8756, allocations: 133 kB / 1.3 GB, free: 35.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.26e-05/0.8756, allocations: 55.41 kB / 1.3 GB, free: 35.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.8756, allocations: 3.062 kB / 1.3 GB, free: 35.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002661/0.8759, allocations: 210.2 kB / 1.3 GB, free: 35.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.222e-06/0.8759, allocations: 0 / 1.3 GB, free: 35.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0004314/0.8763, allocations: 300.8 kB / 1.3 GB, free: 35.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.8764, allocations: 93.61 kB / 1.3 GB, free: 35.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.8764, allocations: 127.6 kB / 1.3 GB, free: 35.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.8765, allocations: 41.83 kB / 1.3 GB, free: 35.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.8765, allocations: 101.1 kB / 1.3 GB, free: 34.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.8765, allocations: 55.17 kB / 1.301 GB, free: 34.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.303e-05/0.8766, allocations: 72.25 kB / 1.301 GB, free: 34.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.8767, allocations: 329.8 kB / 1.301 GB, free: 34.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.8768, allocations: 87.98 kB / 1.301 GB, free: 34.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.877, allocations: 158 kB / 1.301 GB, free: 34.39 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.8772, allocations: 251 kB / 1.301 GB, free: 34.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8772, allocations: 0 / 1.301 GB, free: 34.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004495/0.8776, allocations: 366.8 kB / 1.302 GB, free: 34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.8777, allocations: 63.33 kB / 1.302 GB, free: 33.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8777, allocations: 2.969 kB / 1.302 GB, free: 33.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8777, allocations: 2.75 kB / 1.302 GB, free: 33.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.8778, allocations: 14.91 kB / 1.302 GB, free: 33.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.8778, allocations: 14.19 kB / 1.302 GB, free: 33.93 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.8781, allocations: 65.12 kB / 1.302 GB, free: 33.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.8781, allocations: 20.69 kB / 1.302 GB, free: 33.91 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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 8.977e-05/0.8782, allocations: 151 kB / 1.302 GB, free: 33.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.8782, allocations: 16.78 kB / 1.302 GB, free: 33.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.8783, allocations: 15.31 kB / 1.302 GB, free: 33.75 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.8783, allocations: 6.719 kB / 1.302 GB, free: 33.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.8783, allocations: 3.938 kB / 1.302 GB, free: 33.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8783, allocations: 3.562 kB / 1.302 GB, free: 33.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.8787, allocations: 0.6035 MB / 1.303 GB, free: 33.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.8787, allocations: 0 / 1.303 GB, free: 33.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.84e-05/0.8787, allocations: 15.88 kB / 1.303 GB, free: 33.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.8787, allocations: 3.938 kB / 1.303 GB, free: 33.28 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.8787, allocations: 10.06 kB / 1.303 GB, free: 33.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8787, allocations: 2.938 kB / 1.303 GB, free: 33.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8788, allocations: 7.938 kB / 1.303 GB, free: 33.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.879, allocations: 418 kB / 1.303 GB, free: 33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.8791, allocations: 90.66 kB / 1.303 GB, free: 32.89 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.8791, allocations: 14.19 kB / 1.303 GB, free: 32.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.8792, allocations: 20.95 kB / 1.303 GB, free: 32.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.8793, allocations: 25.52 kB / 1.303 GB, free: 32.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.8793, allocations: 12.47 kB / 1.303 GB, free: 32.87 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.078e-05/0.8793, allocations: 101.2 kB / 1.303 GB, free: 32.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8793, allocations: 0 / 1.303 GB, free: 32.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003167/0.8796, allocations: 51.75 kB / 1.303 GB, free: 32.78 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001382/0.8798, allocations: 120.5 kB / 1.304 GB, free: 32.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.8801, allocations: 314.6 kB / 1.304 GB, free: 32.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8801, allocations: 4.062 kB / 1.304 GB, free: 32.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.8802, allocations: 83.06 kB / 1.304 GB, free: 32.47 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.8806, allocations: 34.52 kB / 1.304 GB, free: 32.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.881, allocations: 300.2 kB / 1.304 GB, free: 32.24 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.8811, allocations: 0.7108 MB / 1.305 GB, free: 31.54 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.8812, allocations: 21.91 kB / 1.305 GB, free: 31.53 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.8812, allocations: 0 / 1.305 GB, free: 31.53 MB / 1.061 GB Notification: Performance of Templates: time 0.003364/0.8845, allocations: 2.281 MB / 1.307 GB, free: 31.3 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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,thrTim1.u,thrTim1.y,thrTim1.t,thrTim1.passed Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time