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.001806/0.001806, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002702/0.002702, allocations: 215.2 kB / 22.25 MB, free: 5.262 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.658/1.658, allocations: 230.6 MB / 256 MB, free: 7.785 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.383/3.383, allocations: 0.4892 GB / 0.7943 GB, free: 35.73 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.002102/0.002102, allocations: 71.84 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4281, allocations: 176.1 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002119/0.4302, allocations: 0.7194 MB / 1.326 GB, free: 1.109 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.432, allocations: 1.268 MB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.4321, allocations: 4 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/0.4321, allocations: 7.875 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/0.4322, allocations: 23.84 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007447/0.4329, allocations: 239.8 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.4333, allocations: 259.5 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.4334, allocations: 12.22 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.4335, allocations: 99.86 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.4337, allocations: 83.73 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.998e-05/0.4338, allocations: 28 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/0.4339, allocations: 35.94 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.4339, allocations: 31.91 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.434, allocations: 83.75 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.4343, allocations: 227.3 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4343, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4343, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.4343, allocations: 0 / 1.329 GB, free: 14.71 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.0008403/0.4352, allocations: 429.2 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4352, allocations: 8.031 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.553e-05/0.4353, allocations: 24.88 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.4359, allocations: 190.5 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.4359, allocations: 20.3 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.436, allocations: 16.38 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.4362, allocations: 133.1 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4362, allocations: 3.938 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.4362, allocations: 7.938 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4363, allocations: 8 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.4364, allocations: 67.88 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/0.4372, allocations: 424.5 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.4375, allocations: 141.1 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.4375, allocations: 53.69 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.4376, allocations: 0 / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.4379, allocations: 210.7 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.4379, allocations: 0 / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005851/0.4385, allocations: 309.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.4386, allocations: 89.11 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.4387, allocations: 140.3 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.4388, allocations: 37.7 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.632e-05/0.4388, allocations: 104.7 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.421e-05/0.4389, allocations: 51.62 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.439, allocations: 73.69 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.4392, allocations: 326.8 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.4394, allocations: 143.6 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.4396, allocations: 211.6 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.44, allocations: 250 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.44, allocations: 0 / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006346/0.4406, allocations: 432 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.716e-05/0.4407, allocations: 67.39 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4407, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4407, allocations: 4 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.4408, allocations: 24.14 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.4408, allocations: 11.94 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.4411, allocations: 67.77 kB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.4412, allocations: 15.98 kB / 1.332 GB, free: 10.36 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.0001551/0.4413, allocations: 144.3 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.4414, allocations: 19.91 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.4414, allocations: 16.44 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4414, allocations: 4 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4414, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4414, allocations: 7.922 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/0.442, allocations: 0.5403 MB / 1.333 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.442, allocations: 4 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.692e-05/0.4421, allocations: 4 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4421, allocations: 7.984 kB / 1.333 GB, free: 9.562 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.4421, allocations: 7.984 kB / 1.333 GB, free: 9.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4421, allocations: 11.94 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4421, allocations: 0 / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.4426, allocations: 432.6 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.4426, allocations: 7.953 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.4426, allocations: 11.98 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.4428, allocations: 15.98 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.4428, allocations: 27.89 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.4429, allocations: 15.98 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.974e-05/0.4429, allocations: 102.1 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4429, allocations: 0 / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003543/0.4433, allocations: 56.03 kB / 1.334 GB, free: 8.875 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.0001772/0.4435, allocations: 123.5 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005739/0.444, allocations: 382 kB / 1.334 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.444, allocations: 0 / 1.334 GB, free: 8.336 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.4442, allocations: 79.89 kB / 1.334 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.4446, allocations: 30.45 kB / 1.334 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005419/0.4451, allocations: 288.2 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.733e-05/0.4452, allocations: 88.84 kB / 1.335 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.017e-05/0.4453, allocations: 17.48 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.4453, allocations: 27.38 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.4453, allocations: 0 / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of Templates: time 0.006842/0.4522, allocations: 2.964 MB / 1.338 GB, free: 4.867 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 -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.775681542232633]