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.001308/0.001308, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00146/0.00146, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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 3.278/3.278, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 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.002097/0.002097, allocations: 62.48 kB / 1.187 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.379, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002082/0.3811, allocations: 0.7193 MB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.383, allocations: 1.276 MB / 1.367 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.383, allocations: 4 kB / 1.367 GB, free: 11.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.279e-05/0.3831, allocations: 7.875 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.821e-05/0.3832, allocations: 19.81 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.3839, allocations: 251.6 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.3843, allocations: 251.6 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3844, allocations: 8.234 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.3845, allocations: 107.8 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3847, allocations: 79.75 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.3848, allocations: 24 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.823e-05/0.3849, allocations: 35.98 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.787e-05/0.3849, allocations: 35.89 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.385, allocations: 79.81 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.3854, allocations: 227.3 kB / 1.368 GB, free: 10.53 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3854, allocations: 0 / 1.368 GB, free: 10.53 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3854, allocations: 0 / 1.368 GB, free: 10.53 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3854, allocations: 0 / 1.368 GB, free: 10.53 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.0008046/0.3862, allocations: 429.2 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3862, allocations: 12.03 kB / 1.368 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.3863, allocations: 24.84 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.3869, allocations: 178.6 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.387, allocations: 12.38 kB / 1.368 GB, free: 9.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.387, allocations: 20.36 kB / 1.368 GB, free: 9.801 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.3873, allocations: 144.8 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3873, allocations: 3.938 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3873, allocations: 0 / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3873, allocations: 7.984 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3875, allocations: 55.95 kB / 1.369 GB, free: 9.582 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008137/0.3883, allocations: 432.4 kB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002896/0.3886, allocations: 145.1 kB / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3887, allocations: 57.72 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.3887, allocations: 0 / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004389/0.3891, allocations: 205.1 kB / 1.369 GB, free: 8.684 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.3891, allocations: 3.938 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=22): time 0.0006202/0.3898, allocations: 313.4 kB / 1.37 GB, free: 8.367 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.3898, allocations: 93.08 kB / 1.37 GB, free: 8.258 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.39, allocations: 141 kB / 1.37 GB, free: 8.113 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.028e-05/0.39, allocations: 37.7 kB / 1.37 GB, free: 8.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.058e-05/0.3901, allocations: 96.64 kB / 1.37 GB, free: 7.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.3902, allocations: 51.62 kB / 1.37 GB, free: 7.922 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.3903, allocations: 73.67 kB / 1.37 GB, free: 7.844 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3905, allocations: 322.8 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.3907, allocations: 151.6 kB / 1.371 GB, free: 7.355 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.391, allocations: 215.6 kB / 1.371 GB, free: 7.105 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.3913, allocations: 243.4 kB / 1.371 GB, free: 6.828 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3913, allocations: 4 kB / 1.371 GB, free: 6.824 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007058/0.392, allocations: 424 kB / 1.371 GB, free: 6.379 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.984e-05/0.3921, allocations: 69.73 kB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3921, allocations: 8.219 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3921, allocations: 0 / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3922, allocations: 19.94 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3922, allocations: 3.984 kB / 1.371 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.3926, allocations: 71.72 kB / 1.372 GB, free: 6.199 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3927, allocations: 23.98 kB / 1.372 GB, free: 6.176 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.0001723/0.3928, allocations: 143.8 kB / 1.372 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3929, allocations: 15.94 kB / 1.372 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.3929, allocations: 12.44 kB / 1.372 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3929, allocations: 4 kB / 1.372 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3929, allocations: 0 / 1.372 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3929, allocations: 3.938 kB / 1.372 GB, free: 5.988 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006792/0.3936, allocations: 0.566 MB / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3936, allocations: 0 / 1.372 GB, free: 5.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.3936, allocations: 11.94 kB / 1.372 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3937, allocations: 4 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3937, allocations: 11.98 kB / 1.372 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3937, allocations: 3.938 kB / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3937, allocations: 0 / 1.372 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.3942, allocations: 424.3 kB / 1.373 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.3942, allocations: 11.91 kB / 1.373 GB, free: 4.914 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.3942, allocations: 11.98 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.3944, allocations: 11.98 kB / 1.373 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.3945, allocations: 27.89 kB / 1.373 GB, free: 4.863 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3945, allocations: 12 kB / 1.373 GB, free: 4.852 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.364e-05/0.3946, allocations: 103.2 kB / 1.373 GB, free: 4.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3946, allocations: 0 / 1.373 GB, free: 4.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003799/0.3949, allocations: 59.92 kB / 1.373 GB, free: 4.691 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.0001924/0.3951, allocations: 119 kB / 1.373 GB, free: 4.566 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005859/0.3957, allocations: 378 kB / 1.373 GB, free: 4.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3957, allocations: 0 / 1.373 GB, free: 4.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.3959, allocations: 91.02 kB / 1.374 GB, free: 4.074 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3963, allocations: 35.97 kB / 1.374 GB, free: 4.039 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.3969, allocations: 302 kB / 1.374 GB, free: 3.707 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.644e-05/0.397, allocations: 84.86 kB / 1.374 GB, free: 3.602 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.3971, allocations: 27.42 kB / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3971, allocations: 0 / 1.374 GB, free: 3.574 MB / 1.061 GB Notification: Performance of Templates: time 0.004689/0.4017, allocations: 2.291 MB / 1.376 GB, free: 1.297 MB / 1.061 GB " [Timeout remaining time 300] 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 -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] "" 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.426490898709744]