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.001861/0.001861, 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.002122/0.002122, allocations: 207.8 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.279/3.279, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.002086/0.002086, allocations: 65.03 kB / 1.155 GB, free: 25.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.352/0.3541, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001978/0.356, allocations: 0.7173 MB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3578, allocations: 1.276 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.771e-05/0.3578, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.593e-05/0.3579, allocations: 7.875 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.392e-05/0.358, allocations: 15.84 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007292/0.3587, allocations: 247 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.359, allocations: 259.5 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.3591, allocations: 12.22 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.3592, allocations: 107.8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.3594, allocations: 95.73 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.3594, allocations: 24 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.6e-05/0.3595, allocations: 35.97 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.3596, allocations: 35.92 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.3597, allocations: 87.73 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.36, allocations: 223.3 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.36, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.36, allocations: 0 / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.36, allocations: 0 / 1.33 GB, free: 13.87 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.000756/0.3607, allocations: 429.2 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3608, allocations: 8.031 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.3609, allocations: 20.89 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.3615, allocations: 198.5 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.3615, allocations: 12.38 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.3616, allocations: 20.36 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.3618, allocations: 127.9 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3618, allocations: 3.938 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.3619, allocations: 3.984 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3619, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.362, allocations: 59.89 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.3628, allocations: 428.5 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.3631, allocations: 137.1 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.793e-05/0.3632, allocations: 53.69 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.3632, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/0.3636, allocations: 222.5 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.3636, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0006429/0.3643, allocations: 307.5 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.3643, allocations: 93.05 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3645, allocations: 132.8 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.3645, allocations: 41.7 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.443e-05/0.3646, allocations: 100.6 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.194e-05/0.3647, allocations: 51.62 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.3648, allocations: 85.61 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3649, allocations: 322.8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.3652, allocations: 147.6 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.3655, allocations: 208 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.3658, allocations: 242.9 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3658, allocations: 4 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006756/0.3665, allocations: 428 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.3666, allocations: 67.41 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3666, allocations: 0 / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3666, allocations: 4 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.3667, allocations: 19.92 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3667, allocations: 8 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003703/0.3671, allocations: 75.97 kB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.3671, allocations: 16 kB / 1.334 GB, free: 9.523 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.000161/0.3673, allocations: 144.3 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.3673, allocations: 15.91 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.29e-05/0.3674, allocations: 20.42 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.3674, allocations: 8 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3674, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.3674, allocations: 3.938 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.3681, allocations: 0.5442 MB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3681, allocations: 4 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/0.3681, allocations: 7.984 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.3681, allocations: 4 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.3681, allocations: 4 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.3681, allocations: 11.92 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3681, allocations: 80 / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.3686, allocations: 438.1 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.3686, allocations: 15.94 kB / 1.335 GB, free: 8.254 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3687, allocations: 8 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.3688, allocations: 7.984 kB / 1.335 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.3689, allocations: 31.89 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.3689, allocations: 15.98 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.572e-05/0.369, allocations: 95.27 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.369, allocations: 0 / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003722/0.3694, allocations: 63.92 kB / 1.335 GB, free: 8.035 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.000183/0.3695, allocations: 123.5 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.3701, allocations: 379.7 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3701, allocations: 0 / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.3703, allocations: 79.89 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.3707, allocations: 27.97 kB / 1.336 GB, free: 7.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005756/0.3712, allocations: 284.6 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.3713, allocations: 92.84 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.234e-05/0.3714, allocations: 13.48 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.3714, allocations: 23.44 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3714, allocations: 0 / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of Templates: time 0.006936/0.3784, allocations: 2.992 MB / 1.339 GB, free: 4.008 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 gbode -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.097686031993362]