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.001315/0.001315, allocations: 77.62 kB / 19.76 MB, free: 2.031 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.001413/0.001413, allocations: 160.2 kB / 23.01 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.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.839/2.839, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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.002357/0.002357, allocations: 59.91 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196/1.199, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002066/1.201, allocations: 0.7123 MB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001519/1.202, allocations: 1.274 MB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/1.202, allocations: 0 / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/1.202, allocations: 7.875 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/1.202, allocations: 17.53 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007195/1.203, allocations: 257 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003382/1.204, allocations: 250 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/1.204, allocations: 9.484 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/1.204, allocations: 105.3 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/1.204, allocations: 78.39 kB / 1.157 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/1.204, allocations: 23.62 kB / 1.157 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/1.204, allocations: 41.09 kB / 1.157 GB, free: 31.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/1.204, allocations: 39 kB / 1.157 GB, free: 31.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/1.204, allocations: 83.25 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/1.205, allocations: 222.8 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/1.205, allocations: 6.344 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.814e-06/1.205, allocations: 0 / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.205, allocations: 0 / 1.157 GB, free: 31.48 MB / 1.076 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.0006755/1.205, allocations: 426.1 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/1.205, allocations: 9.094 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.671e-05/1.205, allocations: 17.89 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/1.206, allocations: 194.7 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/1.206, allocations: 15.94 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/1.206, allocations: 20.14 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/1.206, allocations: 132.1 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.206, allocations: 3.938 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/1.206, allocations: 6.109 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/1.206, allocations: 6.844 kB / 1.158 GB, free: 30.87 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/1.206, allocations: 59.48 kB / 1.158 GB, free: 30.85 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/1.207, allocations: 426.7 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/1.207, allocations: 149.9 kB / 1.158 GB, free: 30.42 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/1.207, allocations: 49.91 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/1.207, allocations: 3.281 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002969/1.208, allocations: 207.7 kB / 1.159 GB, free: 30.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/1.208, allocations: 0 / 1.159 GB, free: 30.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=22): time 0.000518/1.208, allocations: 317.3 kB / 1.159 GB, free: 30.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/1.208, allocations: 87.91 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/1.208, allocations: 133.4 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/1.208, allocations: 45.66 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/1.208, allocations: 94.53 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/1.208, allocations: 59.52 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/1.209, allocations: 76.73 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/1.209, allocations: 321 kB / 1.16 GB, free: 29.42 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/1.209, allocations: 152.5 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/1.209, allocations: 209.8 kB / 1.16 GB, free: 29.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/1.209, allocations: 247.7 kB / 1.16 GB, free: 28.95 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.209, allocations: 0 / 1.16 GB, free: 28.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005034/1.21, allocations: 424.8 kB / 1.161 GB, free: 28.7 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/1.21, allocations: 67.22 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/1.21, allocations: 2.625 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.21, allocations: 2.875 kB / 1.161 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.759e-05/1.21, allocations: 18.92 kB / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.21, allocations: 9.562 kB / 1.161 GB, free: 28.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/1.21, allocations: 71.22 kB / 1.161 GB, free: 28.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.521e-05/1.21, allocations: 21.48 kB / 1.161 GB, free: 28.6 MB / 1.076 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.0001064/1.21, allocations: 145 kB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/1.21, allocations: 19.81 kB / 1.161 GB, free: 28.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/1.211, allocations: 19.66 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/1.211, allocations: 2.688 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.211, allocations: 0 / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.211, allocations: 3.938 kB / 1.161 GB, free: 28.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/1.211, allocations: 0.5468 MB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.211, allocations: 0 / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/1.211, allocations: 12.41 kB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.211, allocations: 0 / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/1.211, allocations: 6.281 kB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/1.211, allocations: 6.906 kB / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/1.211, allocations: 0 / 1.162 GB, free: 28.04 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/1.211, allocations: 439.2 kB / 1.162 GB, free: 27.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/1.211, allocations: 13.67 kB / 1.162 GB, free: 27.74 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/1.211, allocations: 9.766 kB / 1.162 GB, free: 27.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/1.212, allocations: 9.234 kB / 1.162 GB, free: 27.74 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/1.212, allocations: 26.27 kB / 1.162 GB, free: 27.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/1.212, allocations: 22.81 kB / 1.162 GB, free: 27.72 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.357e-05/1.212, allocations: 95.42 kB / 1.162 GB, free: 27.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 6.1e-08/1.212, allocations: 0 / 1.162 GB, free: 27.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003561/1.212, allocations: 58.11 kB / 1.162 GB, free: 27.64 MB / 1.076 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.0001388/1.212, allocations: 113.4 kB / 1.162 GB, free: 27.54 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004249/1.213, allocations: 383.9 kB / 1.163 GB, free: 27.28 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.213, allocations: 0 / 1.163 GB, free: 27.28 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/1.213, allocations: 80.59 kB / 1.163 GB, free: 27.26 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/1.213, allocations: 26.17 kB / 1.163 GB, free: 27.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/1.214, allocations: 290.1 kB / 1.163 GB, free: 27.06 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.607e-05/1.214, allocations: 89.03 kB / 1.163 GB, free: 26.99 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.647e-05/1.214, allocations: 28.98 kB / 1.163 GB, free: 26.98 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/1.214, allocations: 21.19 kB / 1.163 GB, free: 26.96 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.214, allocations: 6.875 kB / 1.163 GB, free: 26.96 MB / 1.076 GB Notification: Performance of Templates: time 0.00614/1.22, allocations: 2.893 MB / 1.166 GB, free: 26.63 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.401526528061368]