Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001739/0.001739, allocations: 116.3 kB / 17.13 MB, free: 6.027 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.002013/0.002013, allocations: 208.7 kB / 20.1 MB, free: 3.074 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.928/2.928, allocations: 0.49 GB / 0.7923 GB, free: 1.301 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_12_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_12_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.002076/0.002076, allocations: 63.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001845/1.006, allocations: 0.744 MB / 1.323 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001299/1.007, allocations: 1.295 MB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/1.007, allocations: 2.906 kB / 1.324 GB, free: 23.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/1.007, allocations: 11.22 kB / 1.324 GB, free: 23.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/1.007, allocations: 18.64 kB / 1.324 GB, free: 23.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/1.008, allocations: 252.3 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/1.008, allocations: 253.6 kB / 1.324 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/1.008, allocations: 13.23 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/1.009, allocations: 101.1 kB / 1.325 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/1.009, allocations: 103.4 kB / 1.325 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/1.009, allocations: 21.53 kB / 1.325 GB, free: 23.31 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.972e-05/1.009, allocations: 40.34 kB / 1.325 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/1.009, allocations: 30.42 kB / 1.325 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.406e-05/1.009, allocations: 91.17 kB / 1.325 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002177/1.009, allocations: 225.2 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/1.009, allocations: 0 / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.023e-06/1.009, allocations: 0 / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.049e-06/1.009, allocations: 0 / 1.325 GB, free: 23.17 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.0006605/1.01, allocations: 0.5045 MB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.01, allocations: 11.73 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.901e-05/1.01, allocations: 18.83 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/1.01, allocations: 246 kB / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/1.011, allocations: 12.94 kB / 1.326 GB, free: 22.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/1.011, allocations: 27.44 kB / 1.326 GB, free: 22.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/1.011, allocations: 134.5 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/1.011, allocations: 3.938 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/1.011, allocations: 10.12 kB / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/1.011, allocations: 0 / 1.326 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/1.011, allocations: 66.97 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/1.012, allocations: 0.5095 MB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/1.012, allocations: 135.5 kB / 1.327 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.664e-05/1.012, allocations: 51.7 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/1.012, allocations: 4 kB / 1.327 GB, free: 21.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/1.012, allocations: 203.8 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/1.012, allocations: 0 / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0006373/1.013, allocations: 320.8 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/1.013, allocations: 85.73 kB / 1.327 GB, free: 21.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/1.013, allocations: 136.5 kB / 1.327 GB, free: 21.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/1.013, allocations: 36.83 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/1.013, allocations: 105.9 kB / 1.328 GB, free: 21.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/1.013, allocations: 47.03 kB / 1.328 GB, free: 21.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/1.013, allocations: 75.36 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.402e-05/1.013, allocations: 325.5 kB / 1.328 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/1.013, allocations: 91.19 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/1.014, allocations: 151.2 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/1.014, allocations: 245.4 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.014, allocations: 1.438 kB / 1.328 GB, free: 20.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005873/1.015, allocations: 360.2 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/1.015, allocations: 67.91 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.015, allocations: 2.719 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.015, allocations: 7.406 kB / 1.329 GB, free: 20.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/1.015, allocations: 23.52 kB / 1.329 GB, free: 20.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.015, allocations: 10.91 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/1.015, allocations: 65.81 kB / 1.329 GB, free: 20.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/1.015, allocations: 20.59 kB / 1.329 GB, free: 20.24 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 0.000111/1.015, allocations: 143.5 kB / 1.329 GB, free: 20.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/1.015, allocations: 16 kB / 1.329 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/1.015, allocations: 17.67 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.015, allocations: 3.094 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.015, allocations: 11.88 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/1.015, allocations: 1.438 kB / 1.329 GB, free: 20.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005849/1.016, allocations: 0.6018 MB / 1.33 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.016, allocations: 0.5625 kB / 1.33 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/1.016, allocations: 16.47 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.016, allocations: 6.016 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/1.016, allocations: 5.984 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.016, allocations: 1.312 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.016, allocations: 1 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/1.016, allocations: 428.3 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/1.016, allocations: 90.03 kB / 1.33 GB, free: 19.22 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/1.016, allocations: 14.17 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/1.017, allocations: 9.281 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/1.017, allocations: 22.64 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/1.017, allocations: 16.34 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.361e-05/1.017, allocations: 100.3 kB / 1.33 GB, free: 19.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.017, allocations: 0 / 1.33 GB, free: 19.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003557/1.017, allocations: 57.38 kB / 1.331 GB, free: 19.12 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.0001654/1.017, allocations: 115.9 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004715/1.018, allocations: 317.5 kB / 1.331 GB, free: 18.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.018, allocations: 5.359 kB / 1.331 GB, free: 18.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/1.018, allocations: 87.3 kB / 1.331 GB, free: 18.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/1.018, allocations: 27.78 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/1.019, allocations: 303.2 kB / 1.331 GB, free: 18.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/1.019, allocations: 0.7191 MB / 1.332 GB, free: 17.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/1.019, allocations: 19.5 kB / 1.332 GB, free: 17.86 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.019, allocations: 0 / 1.332 GB, free: 17.86 MB / 1.061 GB Notification: Performance of Templates: time 0.004741/1.024, allocations: 2.266 MB / 1.334 GB, free: 17.64 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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 [Calling sys.exit(0), Time elapsed: 11.649487442002282]