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.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.00181/0.00181, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002667/0.002667, allocations: 163 kB / 23.01 MB, free: 4.602 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.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.867/2.867, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [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.003039/0.003039, allocations: 59.91 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.009, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001816/1.011, allocations: 0.7229 MB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001409/1.012, allocations: 1.27 MB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/1.013, allocations: 1.406 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/1.013, allocations: 8.531 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.357e-05/1.013, allocations: 25.8 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/1.013, allocations: 247.9 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002763/1.014, allocations: 255.3 kB / 1.189 GB, free: 14.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 8.899e-05/1.014, allocations: 14.19 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/1.014, allocations: 102.2 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/1.014, allocations: 90.11 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/1.014, allocations: 23.84 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.149e-05/1.014, allocations: 40 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/1.014, allocations: 28.73 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/1.014, allocations: 82.56 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/1.015, allocations: 223.3 kB / 1.19 GB, free: 14.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.015, allocations: 1.062 kB / 1.19 GB, free: 14.35 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.473e-06/1.015, allocations: 0 / 1.19 GB, free: 14.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.77e-06/1.015, allocations: 0.75 kB / 1.19 GB, free: 14.35 MB / 1.076 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.0006507/1.015, allocations: 426.7 kB / 1.19 GB, free: 13.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/1.015, allocations: 14.41 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.507e-05/1.015, allocations: 20.92 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/1.016, allocations: 192.6 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/1.016, allocations: 19.59 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.225e-05/1.016, allocations: 18.33 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/1.016, allocations: 129 kB / 1.19 GB, free: 13.74 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.016, allocations: 4.547 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/1.016, allocations: 12.73 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/1.016, allocations: 1.344 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/1.016, allocations: 62.83 kB / 1.191 GB, free: 13.71 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/1.017, allocations: 417.4 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/1.017, allocations: 139.6 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/1.017, allocations: 49.77 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/1.017, allocations: 5.469 kB / 1.191 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003623/1.018, allocations: 208 kB / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/1.018, allocations: 0 / 1.191 GB, free: 13.16 MB / 1.076 GB Notification: Performance of matching and sorting (n=22): time 0.0005747/1.018, allocations: 314.4 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/1.018, allocations: 88.94 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.119e-05/1.018, allocations: 144.5 kB / 1.192 GB, free: 12.82 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/1.018, allocations: 42.56 kB / 1.192 GB, free: 12.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/1.018, allocations: 100.7 kB / 1.192 GB, free: 12.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/1.018, allocations: 50.7 kB / 1.192 GB, free: 12.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/1.019, allocations: 74.41 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.031e-05/1.019, allocations: 322.9 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/1.019, allocations: 152.4 kB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/1.019, allocations: 213 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/1.019, allocations: 249.6 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.019, allocations: 1.094 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005808/1.02, allocations: 428.5 kB / 1.193 GB, free: 11.56 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/1.02, allocations: 64.73 kB / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.02, allocations: 2.219 kB / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.02, allocations: 7.5 kB / 1.193 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.731e-05/1.02, allocations: 19.14 kB / 1.193 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/1.02, allocations: 4.172 kB / 1.193 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/1.02, allocations: 72.39 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/1.021, allocations: 16.44 kB / 1.194 GB, free: 11.47 MB / 1.076 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.000104/1.021, allocations: 149.9 kB / 1.194 GB, free: 11.34 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/1.021, allocations: 14.23 kB / 1.194 GB, free: 11.33 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/1.021, allocations: 14.7 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/1.021, allocations: 4.047 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.021, allocations: 1.062 kB / 1.194 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.021, allocations: 5.156 kB / 1.194 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/1.021, allocations: 0.549 MB / 1.194 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.021, allocations: 0 / 1.194 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/1.021, allocations: 7.625 kB / 1.194 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.021, allocations: 7.047 kB / 1.194 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/1.021, allocations: 13.5 kB / 1.194 GB, free: 10.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/1.021, allocations: 5.406 kB / 1.194 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.021, allocations: 5.297 kB / 1.194 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/1.022, allocations: 427.7 kB / 1.195 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/1.022, allocations: 20.59 kB / 1.195 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/1.022, allocations: 15.27 kB / 1.195 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/1.022, allocations: 13.64 kB / 1.195 GB, free: 10.6 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/1.022, allocations: 24.03 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/1.022, allocations: 16.12 kB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.188e-05/1.022, allocations: 99.19 kB / 1.195 GB, free: 10.51 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.022, allocations: 4 kB / 1.195 GB, free: 10.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003875/1.022, allocations: 53.8 kB / 1.195 GB, free: 10.5 MB / 1.076 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.0001263/1.023, allocations: 111.1 kB / 1.195 GB, free: 10.41 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004963/1.023, allocations: 375.9 kB / 1.195 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.023, allocations: 1.094 kB / 1.195 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/1.023, allocations: 83.73 kB / 1.195 GB, free: 10.13 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/1.024, allocations: 36.88 kB / 1.196 GB, free: 10.11 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/1.024, allocations: 280.1 kB / 1.196 GB, free: 9.922 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.121e-05/1.024, allocations: 89.83 kB / 1.196 GB, free: 9.852 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.543e-05/1.024, allocations: 20.53 kB / 1.196 GB, free: 9.844 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/1.024, allocations: 23.8 kB / 1.196 GB, free: 9.832 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/1.024, allocations: 288 / 1.196 GB, free: 9.832 MB / 1.076 GB Notification: Performance of Templates: time 0.007343/1.032, allocations: 2.901 MB / 1.199 GB, free: 9.48 MB / 1.076 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 800] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.2642736119451]