Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001963, allocations: 189.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 64.03 kB / 1.061 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9573/0.9592, allocations: 160.8 MB / 1.218 GB, free: 3.84 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002262/0.9615, allocations: 0.7419 MB / 1.219 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.9636, allocations: 1.284 MB / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.109e-05/0.9636, allocations: 0 / 1.22 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.9637, allocations: 5.219 kB / 1.22 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.9638, allocations: 22 kB / 1.22 GB, free: 2.219 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008188/0.9646, allocations: 247.7 kB / 1.221 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.965, allocations: 255.5 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.9651, allocations: 9.672 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.9652, allocations: 106 kB / 1.221 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.9654, allocations: 96.58 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.9655, allocations: 23.38 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.9656, allocations: 37.06 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.9656, allocations: 35.95 kB / 1.221 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001387/0.9658, allocations: 95.17 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.9661, allocations: 228 kB / 1.222 GB, free: 1.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9661, allocations: 1.125 kB / 1.222 GB, free: 1.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9661, allocations: 0 / 1.222 GB, free: 1.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.9661, allocations: 0 / 1.222 GB, free: 1.5 MB / 0.92 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.00084/0.9669, allocations: 0.4951 MB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.967, allocations: 8.781 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.967, allocations: 21.61 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006207/0.9677, allocations: 253.5 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.8e-05/0.9677, allocations: 12.23 kB / 1.222 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.9678, allocations: 20.66 kB / 1.222 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.968, allocations: 140.1 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.9681, allocations: 3.938 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.9681, allocations: 6.203 kB / 1.223 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.9681, allocations: 1.062 kB / 1.223 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.9682, allocations: 59.27 kB / 1.223 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.9692, allocations: 0.5129 MB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.9696, allocations: 135.2 kB / 1.223 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.9697, allocations: 50.59 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.9698, allocations: 5.438 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005292/0.9703, allocations: 211.9 kB / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.9703, allocations: 0 / 1.223 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.000753/0.971, allocations: 312.6 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.9711, allocations: 90.61 kB / 1.224 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.9713, allocations: 132.2 kB / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/0.9714, allocations: 41.3 kB / 1.224 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.9715, allocations: 97.8 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/0.9716, allocations: 51.25 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.9717, allocations: 71.52 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002102/0.9719, allocations: 330.4 kB / 1.225 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.9721, allocations: 93.73 kB / 1.225 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002752/0.9724, allocations: 159 kB / 1.225 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.9728, allocations: 249.4 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.9728, allocations: 1.094 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007034/0.9735, allocations: 362.8 kB / 1.225 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.469e-05/0.9736, allocations: 68.67 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.9736, allocations: 3 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.9736, allocations: 2.375 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.9737, allocations: 16.56 kB / 1.225 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.9738, allocations: 10.62 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.9741, allocations: 72.72 kB / 1.226 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.9742, allocations: 13.53 kB / 1.226 GB, free: 14.16 MB / 0.9356 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 0.0001986/0.9744, allocations: 153.5 kB / 1.226 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.9744, allocations: 20.36 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.9745, allocations: 14.38 kB / 1.226 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.9745, allocations: 3.031 kB / 1.226 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.9745, allocations: 5.125 kB / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9745, allocations: 0 / 1.226 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009099/0.9754, allocations: 0.6117 MB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.9754, allocations: 1.156 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.9755, allocations: 9.875 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.9755, allocations: 5.281 kB / 1.226 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.9755, allocations: 11.64 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.9755, allocations: 1.062 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.9755, allocations: 1.031 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.9762, allocations: 423.4 kB / 1.227 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.782e-05/0.9763, allocations: 96.25 kB / 1.227 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.9763, allocations: 16.02 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.9765, allocations: 13.98 kB / 1.227 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.9766, allocations: 23.77 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.9766, allocations: 8.75 kB / 1.227 GB, free: 13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.724e-05/0.9767, allocations: 96.95 kB / 1.227 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9767, allocations: 1.406 kB / 1.227 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003966/0.9771, allocations: 57.16 kB / 1.227 GB, free: 12.9 MB / 0.9356 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.0002166/0.9773, allocations: 122 kB / 1.227 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005692/0.9779, allocations: 325.7 kB / 1.227 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9779, allocations: 0 / 1.227 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.978, allocations: 78.34 kB / 1.228 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.9785, allocations: 40.56 kB / 1.228 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.9791, allocations: 276.3 kB / 1.228 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.9796, allocations: 0.705 MB / 1.229 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.969e-05/0.9796, allocations: 22.95 kB / 1.229 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.9797, allocations: 16.97 kB / 1.229 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of SimCode: time 4.1e-07/0.9797, allocations: 1.312 kB / 1.229 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.007627/0.9873, allocations: 2.788 MB / 1.231 GB, free: 9.742 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.351770688779652]