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.001976/0.001976, allocations: 87.67 kB / 20.24 MB, free: 4.168 MB / 18.57 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.002047/0.002047, allocations: 161.8 kB / 23.55 MB, free: 0.8594 MB / 18.57 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.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.215/3.215, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/3.02e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001922/0.001953, allocations: 0.7344 MB / 0.8116 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001896/0.003848, allocations: 1.276 MB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.003898, allocations: 0.9062 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.302e-05/0.003931, allocations: 11.86 kB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.00402, allocations: 20.45 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006802/0.004701, allocations: 245.1 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.005035, allocations: 256.3 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.005126, allocations: 16.22 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.005356, allocations: 145 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.005532, allocations: 75.81 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.005586, allocations: 24 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.005683, allocations: 37.75 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.005729, allocations: 31.91 kB / 0.8136 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.00585, allocations: 75.86 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.006224, allocations: 271.3 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.006228, allocations: 0 / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.62e-07/0.006229, allocations: 1.188 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.006234, allocations: 0 / 0.814 GB, free: 14.88 MB / 0.7761 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.0008428/0.007076, allocations: 0.5167 MB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.007114, allocations: 12.03 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.007223, allocations: 32.83 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005629/0.007786, allocations: 190.1 kB / 0.8147 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.007817, allocations: 8.375 kB / 0.8147 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.007864, allocations: 24.36 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002701/0.008134, allocations: 142.2 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.008143, allocations: 4.125 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.008171, allocations: 14.17 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.008185, allocations: 12.11 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.008335, allocations: 59.95 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009178/0.009252, allocations: 0.5272 MB / 0.8155 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.009588, allocations: 171.3 kB / 0.8156 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.009704, allocations: 67.36 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.00972, allocations: 3.938 kB / 0.8157 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006128/0.01033, allocations: 227.7 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.01033, allocations: 1 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.00066/0.01099, allocations: 339.7 kB / 0.8162 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.01106, allocations: 81.11 kB / 0.8163 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.01125, allocations: 198.9 kB / 0.8165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.01129, allocations: 37.7 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01141, allocations: 152.2 kB / 0.8167 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.01147, allocations: 59.58 kB / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.01163, allocations: 88.28 kB / 0.8168 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002788/0.01191, allocations: 0.5039 MB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.01218, allocations: 155.6 kB / 0.8175 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.01252, allocations: 266.9 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.01291, allocations: 282.3 kB / 0.818 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01291, allocations: 0 / 0.818 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007653/0.01368, allocations: 456.8 kB / 0.8184 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/0.01374, allocations: 66.84 kB / 0.8185 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01375, allocations: 0 / 0.8185 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.01377, allocations: 4 kB / 0.8185 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.01388, allocations: 27.86 kB / 0.8185 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.01389, allocations: 7.938 kB / 0.8185 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.01421, allocations: 63.8 kB / 0.8186 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.01425, allocations: 16.48 kB / 0.8186 GB, free: 9.738 MB / 0.7761 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.0001853/0.01443, allocations: 196.4 kB / 0.8188 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.01448, allocations: 23.95 kB / 0.8188 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.911e-05/0.01453, allocations: 16.42 kB / 0.8188 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01453, allocations: 0 / 0.8188 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.01453, allocations: 0.625 kB / 0.8188 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.01454, allocations: 5.094 kB / 0.8188 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/0.01531, allocations: 0.6566 MB / 0.8195 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.01531, allocations: 4 kB / 0.8195 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.01536, allocations: 20.58 kB / 0.8195 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01537, allocations: 0 / 0.8195 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.01539, allocations: 9.609 kB / 0.8195 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.01539, allocations: 4.078 kB / 0.8195 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.0154, allocations: 3.984 kB / 0.8195 GB, free: 8.758 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006054/0.016, allocations: 0.5362 MB / 0.82 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.01602, allocations: 15.53 kB / 0.82 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.01606, allocations: 11.98 kB / 0.8201 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.01619, allocations: 7.984 kB / 0.8201 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.01627, allocations: 23.95 kB / 0.8201 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.0163, allocations: 15.98 kB / 0.8201 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001034/0.0164, allocations: 146.5 kB / 0.8202 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0164, allocations: 0 / 0.8202 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003556/0.01676, allocations: 59.88 kB / 0.8203 GB, free: 7.934 MB / 0.7761 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.0002241/0.01698, allocations: 125.6 kB / 0.8204 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006654/0.01765, allocations: 435.3 kB / 0.8208 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01765, allocations: 1.125 kB / 0.8208 GB, free: 7.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.01783, allocations: 107.6 kB / 0.8209 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.01824, allocations: 33.66 kB / 0.821 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.01883, allocations: 294.8 kB / 0.8212 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.01894, allocations: 91.34 kB / 0.8213 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.219e-05/0.01902, allocations: 22.52 kB / 0.8214 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.01907, allocations: 25.86 kB / 0.8214 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01907, allocations: 0 / 0.8214 GB, free: 6.73 MB / 0.7761 GB Notification: Performance of Templates: time 0.007623/0.02669, allocations: 2.913 MB / 0.8242 GB, free: 3.898 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] 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: 8.453157103969716]