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.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.001581/0.00158, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.001621/0.001621, allocations: 192.7 kB / 20.03 MB, free: 3.059 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.49/1.49, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.103/3.103, allocations: 489.3 MB / 0.7687 GB, free: 3.816 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 67.89 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9425/0.9448, allocations: 163.8 MB / 1.263 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001873/0.9467, allocations: 0.7444 MB / 1.263 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00177/0.9485, allocations: 1.257 MB / 1.265 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.45e-05/0.9486, allocations: 1.75 kB / 1.265 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.9487, allocations: 9.047 kB / 1.265 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.184e-05/0.9488, allocations: 16.06 kB / 1.265 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.9496, allocations: 244.8 kB / 1.265 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.9499, allocations: 268.7 kB / 1.265 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.9501, allocations: 18.53 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.9502, allocations: 105.1 kB / 1.265 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.9504, allocations: 97.23 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.9505, allocations: 22.56 kB / 1.265 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.9506, allocations: 37.48 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.594e-05/0.9506, allocations: 29.94 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.9508, allocations: 96.41 kB / 1.265 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003102/0.9511, allocations: 219.6 kB / 1.266 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.9511, allocations: 1.594 kB / 1.266 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9511, allocations: 0 / 1.266 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.9511, allocations: 0 / 1.266 GB, free: 6.344 MB / 0.9981 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.0007163/0.9518, allocations: 0.4985 MB / 1.266 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.9519, allocations: 9.938 kB / 1.266 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.311e-05/0.952, allocations: 25.02 kB / 1.266 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005425/0.9525, allocations: 252.3 kB / 1.266 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.9526, allocations: 15.27 kB / 1.266 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.9526, allocations: 18.72 kB / 1.266 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.9529, allocations: 131.8 kB / 1.267 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.9529, allocations: 4.656 kB / 1.267 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.953, allocations: 8.047 kB / 1.267 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.953, allocations: 5.844 kB / 1.267 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.9531, allocations: 68.31 kB / 1.267 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007931/0.9539, allocations: 0.5112 MB / 1.267 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.9542, allocations: 158.5 kB / 1.267 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.9544, allocations: 65.98 kB / 1.267 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.9544, allocations: 5.281 kB / 1.267 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005235/0.9549, allocations: 205 kB / 1.268 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.924e-06/0.9549, allocations: 0 / 1.268 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.0008406/0.9558, allocations: 309.9 kB / 1.268 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.9559, allocations: 95.19 kB / 1.268 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.956, allocations: 137 kB / 1.268 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.956, allocations: 42.23 kB / 1.268 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.389e-05/0.9561, allocations: 96.36 kB / 1.268 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/0.9562, allocations: 51.47 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.9564, allocations: 74.28 kB / 1.268 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.561e-05/0.9565, allocations: 322.6 kB / 1.269 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.9567, allocations: 87.17 kB / 1.269 GB, free: 4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.9569, allocations: 151.7 kB / 1.269 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.9573, allocations: 251.5 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9573, allocations: 0.625 kB / 1.269 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006955/0.958, allocations: 358.6 kB / 1.269 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.346e-05/0.9581, allocations: 64.55 kB / 1.27 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9581, allocations: 2.625 kB / 1.27 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.9581, allocations: 7.719 kB / 1.27 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.9582, allocations: 21.78 kB / 1.27 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.9583, allocations: 8.172 kB / 1.27 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.9587, allocations: 70.23 kB / 1.27 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.9587, allocations: 16.42 kB / 1.27 GB, free: 3.41 MB / 0.9981 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.0001272/0.9588, allocations: 152.7 kB / 1.27 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.9589, allocations: 13.25 kB / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.9589, allocations: 15.48 kB / 1.27 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.9589, allocations: 3.953 kB / 1.27 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.959, allocations: 5.125 kB / 1.27 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.959, allocations: 1.406 kB / 1.27 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006322/0.9596, allocations: 0.6137 MB / 1.27 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.9596, allocations: 0.7031 kB / 1.27 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.9597, allocations: 12.03 kB / 1.27 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.9597, allocations: 5 kB / 1.27 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.9597, allocations: 10.36 kB / 1.27 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.9597, allocations: 2.406 kB / 1.27 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.9597, allocations: 4.844 kB / 1.27 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.9601, allocations: 410.4 kB / 1.271 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.9602, allocations: 93.86 kB / 1.271 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.9602, allocations: 17.88 kB / 1.271 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.9604, allocations: 17.45 kB / 1.271 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.9604, allocations: 23.56 kB / 1.271 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.9605, allocations: 11.75 kB / 1.271 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.922e-05/0.9605, allocations: 98.03 kB / 1.271 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9605, allocations: 4.469 kB / 1.271 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003796/0.9609, allocations: 54.98 kB / 1.271 GB, free: 2.285 MB / 0.9981 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.0001825/0.9611, allocations: 119.9 kB / 1.271 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000496/0.9616, allocations: 346 kB / 1.272 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.9616, allocations: 0 / 1.272 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.9618, allocations: 123.2 kB / 1.272 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.9622, allocations: 35.31 kB / 1.272 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.9628, allocations: 308.4 kB / 1.272 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.9629, allocations: 0.7027 MB / 1.273 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.963, allocations: 24.28 kB / 1.273 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.963, allocations: 0 / 1.273 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of Templates: time 0.005573/0.9686, allocations: 2.269 MB / 1.275 GB, free: 0.7617 MB / 0.9981 GB " [Timeout remaining time 299] 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_2/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.774942439980805]