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.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.001313/0.001313, allocations: 110 kB / 18.94 MB, free: 2.949 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.001408/0.001408, allocations: 186.2 kB / 22.23 MB, free: 5.137 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.605/1.605, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.337/3.337, allocations: 496 MB / 0.7835 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_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: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 66.89 kB / 1.138 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3894, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002038/0.3914, allocations: 0.7466 MB / 1.308 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3931, allocations: 1.268 MB / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3932, allocations: 0 / 1.309 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.3932, allocations: 11.86 kB / 1.309 GB, free: 15.77 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.887e-05/0.3933, allocations: 15.86 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.394, allocations: 257.9 kB / 1.31 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.3943, allocations: 255.5 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.3944, allocations: 12.22 kB / 1.31 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.3946, allocations: 103.8 kB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.3947, allocations: 95.75 kB / 1.31 GB, free: 15.05 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.3948, allocations: 24 kB / 1.31 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-05/0.3949, allocations: 39.92 kB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.3949, allocations: 35.89 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.395, allocations: 87.75 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.3953, allocations: 223.3 kB / 1.31 GB, free: 14.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3954, allocations: 4 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3954, allocations: 3.938 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3954, allocations: 4 kB / 1.31 GB, free: 14.64 MB / 1.014 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.0007924/0.3962, allocations: 421.3 kB / 1.311 GB, free: 14.18 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3962, allocations: 8.922 kB / 1.311 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.679e-05/0.3963, allocations: 24.78 kB / 1.311 GB, free: 14.15 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005654/0.3968, allocations: 194.5 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.3969, allocations: 12.36 kB / 1.311 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.3969, allocations: 20.38 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.3972, allocations: 131.9 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3972, allocations: 3.938 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3972, allocations: 0 / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3972, allocations: 11.98 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3973, allocations: 63.89 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.3982, allocations: 495.7 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.3984, allocations: 137.2 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.3985, allocations: 53.69 kB / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.3986, allocations: 0 / 1.312 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003863/0.3989, allocations: 210.5 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.3989, allocations: 0 / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of matching and sorting (n=22): time 0.0005845/0.3995, allocations: 313.4 kB / 1.312 GB, free: 12.41 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.3996, allocations: 96.97 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3997, allocations: 129.8 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.3998, allocations: 41.7 kB / 1.313 GB, free: 12.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.3998, allocations: 100.6 kB / 1.313 GB, free: 12.01 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.3999, allocations: 55.62 kB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.4, allocations: 65.69 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4002, allocations: 330.8 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.4004, allocations: 84.23 kB / 1.313 GB, free: 11.47 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.4006, allocations: 156.8 kB / 1.313 GB, free: 11.29 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.4009, allocations: 247.3 kB / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4009, allocations: 0 / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006078/0.4015, allocations: 360.6 kB / 1.314 GB, free: 10.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.155e-05/0.4016, allocations: 67.41 kB / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4016, allocations: 0 / 1.314 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4016, allocations: 4.219 kB / 1.314 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.4018, allocations: 23.92 kB / 1.314 GB, free: 10.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.4018, allocations: 7.938 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.4021, allocations: 71.77 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.4022, allocations: 20 kB / 1.314 GB, free: 10.43 MB / 1.014 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.0001482/0.4023, allocations: 147.7 kB / 1.314 GB, free: 10.28 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.4023, allocations: 11.95 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.002e-05/0.4024, allocations: 20.42 kB / 1.314 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.4024, allocations: 4 kB / 1.314 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.4024, allocations: 3.938 kB / 1.314 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4024, allocations: 0 / 1.314 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.4031, allocations: 0.5904 MB / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4031, allocations: 4 kB / 1.315 GB, free: 9.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.4031, allocations: 15.98 kB / 1.315 GB, free: 9.574 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.4031, allocations: 3.938 kB / 1.315 GB, free: 9.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.4032, allocations: 11.98 kB / 1.315 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4032, allocations: 0 / 1.315 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4032, allocations: 0 / 1.315 GB, free: 9.559 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.4036, allocations: 418.7 kB / 1.315 GB, free: 9.137 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.4037, allocations: 15.91 kB / 1.315 GB, free: 9.121 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.223e-05/0.4037, allocations: 15.94 kB / 1.315 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.4038, allocations: 11.98 kB / 1.315 GB, free: 9.094 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.578e-05/0.4039, allocations: 23.95 kB / 1.315 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.4039, allocations: 11.98 kB / 1.315 GB, free: 9.059 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.653e-05/0.404, allocations: 99.36 kB / 1.316 GB, free: 8.961 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.404, allocations: 3.938 kB / 1.316 GB, free: 8.957 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000356/0.4044, allocations: 55.92 kB / 1.316 GB, free: 8.902 MB / 1.014 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.0001855/0.4045, allocations: 127.9 kB / 1.316 GB, free: 8.77 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.4051, allocations: 310.6 kB / 1.316 GB, free: 8.441 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4051, allocations: 0 / 1.316 GB, free: 8.441 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.4052, allocations: 83.89 kB / 1.316 GB, free: 8.359 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.4056, allocations: 33.31 kB / 1.316 GB, free: 8.328 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.4062, allocations: 272.7 kB / 1.316 GB, free: 8.035 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.4066, allocations: 0.7047 MB / 1.317 GB, free: 7.305 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 6.807e-05/0.4066, allocations: 21.48 kB / 1.317 GB, free: 7.285 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.4067, allocations: 19.42 kB / 1.317 GB, free: 7.266 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.4067, allocations: 0 / 1.317 GB, free: 7.266 MB / 1.014 GB Notification: Performance of Templates: time 0.006872/0.4135, allocations: 2.797 MB / 1.32 GB, free: 4.492 MB / 1.014 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 -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/jenkins/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.551057578064501]