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.001336/0.001336, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001505/0.001505, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 3.369/3.369, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002166/0.002166, allocations: 66.19 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.395, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002259/0.3972, allocations: 0.7224 MB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3992, allocations: 1.276 MB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.769e-05/0.3993, allocations: 4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.694e-05/0.3993, allocations: 11.86 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.3994, allocations: 15.86 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007759/0.4002, allocations: 237.8 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.4005, allocations: 259.5 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.4007, allocations: 24.2 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.4008, allocations: 95.81 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.401, allocations: 99.73 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.971e-05/0.401, allocations: 24 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.4011, allocations: 39.92 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.4012, allocations: 27.92 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.4013, allocations: 83.8 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.4016, allocations: 223.3 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4016, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4016, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4016, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 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.000805/0.4024, allocations: 437.2 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.4024, allocations: 12.03 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.244e-05/0.4025, allocations: 20.89 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.4031, allocations: 190.5 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.4032, allocations: 12.38 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.4032, allocations: 20.36 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.4035, allocations: 131.9 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4035, allocations: 3.938 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.4035, allocations: 11.92 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4035, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.4037, allocations: 59.89 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008275/0.4045, allocations: 424.5 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.4048, allocations: 149.1 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.4049, allocations: 49.7 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.4049, allocations: 3.984 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004225/0.4053, allocations: 210.3 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.4053, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0006193/0.406, allocations: 312.6 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.406, allocations: 93.09 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.4062, allocations: 129.9 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.029e-05/0.4062, allocations: 49.62 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.4063, allocations: 96.59 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.302e-05/0.4064, allocations: 55.78 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.4065, allocations: 73.67 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.4067, allocations: 322.8 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.4069, allocations: 147.6 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.4072, allocations: 207.6 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.4075, allocations: 247 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4075, allocations: 4 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006738/0.4082, allocations: 435.3 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.954e-05/0.4083, allocations: 67.61 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4083, allocations: 8 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4083, allocations: 4 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.4084, allocations: 15.94 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.4084, allocations: 0 / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.4088, allocations: 75.75 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.4088, allocations: 19.98 kB / 1.334 GB, free: 9.469 MB / 1.029 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.0001468/0.409, allocations: 144.3 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.409, allocations: 19.89 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.409, allocations: 12.44 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.409, allocations: 4 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.409, allocations: 0 / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.4091, allocations: 3.938 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.4097, allocations: 0.5442 MB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4097, allocations: 3.984 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.549e-05/0.4097, allocations: 8 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4097, allocations: 4 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.4098, allocations: 19.92 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.4098, allocations: 3.938 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.4098, allocations: 0 / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.4103, allocations: 430.5 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.892e-05/0.4103, allocations: 11.95 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.4103, allocations: 8 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.4105, allocations: 7.984 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.4105, allocations: 27.89 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.669e-05/0.4105, allocations: 15.98 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.596e-05/0.4106, allocations: 103.3 kB / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4106, allocations: 0 / 1.335 GB, free: 8.047 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003711/0.411, allocations: 59.92 kB / 1.335 GB, free: 7.988 MB / 1.029 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.0001931/0.4112, allocations: 119.5 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005724/0.4118, allocations: 375.7 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.4118, allocations: 96 / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4119, allocations: 92.88 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.4123, allocations: 27.98 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.4129, allocations: 280.2 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.413, allocations: 88.84 kB / 1.336 GB, free: 6.934 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.815e-05/0.4131, allocations: 21.48 kB / 1.336 GB, free: 6.914 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.4132, allocations: 19.42 kB / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4132, allocations: 0 / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of Templates: time 0.007099/0.4203, allocations: 2.993 MB / 1.339 GB, free: 3.965 MB / 1.029 GB " [Timeout remaining time 300] 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 -s cvode -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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.46956453799794]