Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00178/0.00178, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002864/0.002864, allocations: 215 kB / 22.24 MB, free: 5.234 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.638/1.638, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.894/2.894, allocations: 476 MB / 0.7699 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002159/0.002159, allocations: 66.7 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4159, allocations: 169.9 MB / 1.283 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002412/0.4183, allocations: 0.7258 MB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002675/0.421, allocations: 1.278 MB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.421, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.385e-05/0.4211, allocations: 7.938 kB / 1.285 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.4212, allocations: 23.78 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009941/0.4222, allocations: 241.5 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.4228, allocations: 255.5 kB / 1.285 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.423, allocations: 16.22 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.4231, allocations: 95.88 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.4234, allocations: 87.73 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.4235, allocations: 20 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.4237, allocations: 43.92 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.4237, allocations: 23.97 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.4239, allocations: 87.73 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005457/0.4244, allocations: 223.3 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.4244, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.446e-06/0.4244, allocations: 0 / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.4244, allocations: 4 kB / 1.286 GB, free: 8.77 MB / 0.9825 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.001083/0.4255, allocations: 445.2 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.4256, allocations: 8.031 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.4257, allocations: 16.89 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006383/0.4263, allocations: 182.6 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/0.4264, allocations: 16.36 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.177e-05/0.4264, allocations: 24.36 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.4267, allocations: 134.7 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4267, allocations: 11.88 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.4267, allocations: 7.984 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4267, allocations: 0 / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.4269, allocations: 59.95 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008581/0.4277, allocations: 420.4 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.428, allocations: 141.1 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4281, allocations: 53.69 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4282, allocations: 8 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.4286, allocations: 207.7 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.4286, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0007148/0.4293, allocations: 317.3 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.905e-05/0.4294, allocations: 81.11 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.4295, allocations: 138 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.4296, allocations: 37.7 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.817e-05/0.4297, allocations: 100.6 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.4298, allocations: 55.58 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.4299, allocations: 73.67 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.4301, allocations: 326.8 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.4304, allocations: 143.6 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.4307, allocations: 224.1 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.4312, allocations: 249.1 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.4312, allocations: 0 / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008067/0.432, allocations: 424.1 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.835e-05/0.4321, allocations: 59.41 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/0.4321, allocations: 4 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.4321, allocations: 12.2 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4322, allocations: 27.86 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.4323, allocations: 4 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003711/0.4326, allocations: 71.75 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.4327, allocations: 12 kB / 1.29 GB, free: 4.414 MB / 0.9825 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.000191/0.4329, allocations: 148.1 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.4329, allocations: 11.95 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.179e-05/0.433, allocations: 16.42 kB / 1.29 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.433, allocations: 4 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.433, allocations: 7.875 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.433, allocations: 3.938 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007279/0.4337, allocations: 0.5498 MB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4337, allocations: 0 / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.661e-05/0.4337, allocations: 15.92 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4338, allocations: 0 / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.4338, allocations: 12 kB / 1.291 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.4338, allocations: 7.922 kB / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4338, allocations: 0 / 1.291 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.4343, allocations: 422.6 kB / 1.291 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.4344, allocations: 11.91 kB / 1.291 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.4344, allocations: 11.98 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.4345, allocations: 11.98 kB / 1.291 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.4346, allocations: 31.83 kB / 1.291 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.4347, allocations: 11.98 kB / 1.291 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.818e-05/0.4347, allocations: 99.27 kB / 1.291 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4347, allocations: 4 kB / 1.291 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003639/0.4351, allocations: 55.94 kB / 1.291 GB, free: 2.934 MB / 0.9825 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.0002313/0.4353, allocations: 115.2 kB / 1.291 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006549/0.436, allocations: 380.2 kB / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.436, allocations: 0 / 1.292 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.4361, allocations: 83.89 kB / 1.292 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.4365, allocations: 32.73 kB / 1.292 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005976/0.4371, allocations: 275.3 kB / 1.292 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.4373, allocations: 92.78 kB / 1.292 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.581e-05/0.4373, allocations: 25.42 kB / 1.292 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.4374, allocations: 19.44 kB / 1.292 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.4374, allocations: 4 kB / 1.292 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.007885/0.4453, allocations: 2.967 MB / 1.295 GB, free: 14.95 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.845920084044337]