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.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.0009572/0.0009572, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001593/0.001593, allocations: 169 kB / 23.02 MB, free: 1.543 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.053/1.053, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.177/2.177, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 3.036e-06/3.036e-06, allocations: 1.094 kB / 0.8782 GB, free: 5.195 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.031e-05/3.334e-05, allocations: 5.828 kB / 0.8782 GB, free: 5.191 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002171/0.002204, allocations: 0.7494 MB / 0.8789 GB, free: 4.461 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.00466, allocations: 1.314 MB / 0.8802 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.00474, allocations: 0.5625 kB / 0.8802 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5e-05/0.00479, allocations: 12.52 kB / 0.8802 GB, free: 3.125 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.0049, allocations: 20.86 kB / 0.8802 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.005677, allocations: 245.1 kB / 0.8805 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003291/0.006006, allocations: 264 kB / 0.8807 GB, free: 2.609 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.006135, allocations: 12.22 kB / 0.8807 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.00635, allocations: 140.7 kB / 0.8809 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.006519, allocations: 75.86 kB / 0.8809 GB, free: 2.383 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.006575, allocations: 21.19 kB / 0.8809 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.873e-05/0.006674, allocations: 39.98 kB / 0.881 GB, free: 2.324 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.483e-05/0.006718, allocations: 31.89 kB / 0.881 GB, free: 2.293 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.006831, allocations: 76.89 kB / 0.8811 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.007128, allocations: 199.4 kB / 0.8813 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.007133, allocations: 0 / 0.8813 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.383e-06/0.007134, allocations: 1.125 kB / 0.8813 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.00714, allocations: 0 / 0.8813 GB, free: 2.023 MB / 0.7917 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.0007857/0.007926, allocations: 0.5202 MB / 0.8818 GB, free: 1.453 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.00798, allocations: 12.03 kB / 0.8818 GB, free: 1.441 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.008085, allocations: 24.89 kB / 0.8818 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.008618, allocations: 186.5 kB / 0.882 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.008655, allocations: 16.36 kB / 0.882 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.0087, allocations: 19.5 kB / 0.882 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.008958, allocations: 142.2 kB / 0.8822 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.00897, allocations: 192 / 0.8822 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.008989, allocations: 8.359 kB / 0.8822 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.009002, allocations: 12.11 kB / 0.8822 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.009112, allocations: 47.89 kB / 0.8822 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007658/0.009878, allocations: 0.5193 MB / 0.8827 GB, free: 408 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.01014, allocations: 134.7 kB / 0.8829 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.01023, allocations: 51.34 kB / 0.8829 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.01024, allocations: 1.594 kB / 0.8829 GB, free: 188 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.01061, allocations: 216 kB / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.01061, allocations: 0 / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0008347/0.01144, allocations: 288.2 kB / 0.8834 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.0115, allocations: 86.12 kB / 0.8835 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.01162, allocations: 189.9 kB / 0.8837 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.01166, allocations: 41.64 kB / 0.8837 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.49e-05/0.01174, allocations: 151.7 kB / 0.8839 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.01179, allocations: 53.22 kB / 0.8839 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.01192, allocations: 79.34 kB / 0.884 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.01208, allocations: 0.4961 MB / 0.8845 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.01229, allocations: 131.6 kB / 0.8846 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.01254, allocations: 229.6 kB / 0.8848 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/0.01285, allocations: 249.8 kB / 0.885 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.01286, allocations: 4 kB / 0.885 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006269/0.01348, allocations: 418.7 kB / 0.8854 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.01354, allocations: 67.39 kB / 0.8855 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.01355, allocations: 4 kB / 0.8855 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.01358, allocations: 4 kB / 0.8855 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.01369, allocations: 23.92 kB / 0.8855 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.0137, allocations: 4 kB / 0.8855 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.01396, allocations: 51.84 kB / 0.8856 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.119e-05/0.014, allocations: 32.08 kB / 0.8856 GB, free: 13.17 MB / 0.8073 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.0001516/0.01416, allocations: 182.5 kB / 0.8858 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.0142, allocations: 31.89 kB / 0.8858 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.01426, allocations: 16.44 kB / 0.8858 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.01426, allocations: 3.984 kB / 0.8859 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.01427, allocations: 0 / 0.8859 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.01428, allocations: 4 kB / 0.8859 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/0.0149, allocations: 0.6175 MB / 0.8865 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01491, allocations: 4 kB / 0.8865 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.01496, allocations: 11.98 kB / 0.8865 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01496, allocations: 0 / 0.8865 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.01498, allocations: 8 kB / 0.8865 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.01499, allocations: 0 / 0.8865 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01499, allocations: 4 kB / 0.8865 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.01548, allocations: 0.5105 MB / 0.887 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.01549, allocations: 7.953 kB / 0.887 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.01553, allocations: 11.98 kB / 0.887 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.01568, allocations: 11.98 kB / 0.887 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.01576, allocations: 19.95 kB / 0.887 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.01578, allocations: 20 kB / 0.8871 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.048e-05/0.01585, allocations: 135.2 kB / 0.8872 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01585, allocations: 0 / 0.8872 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004247/0.01628, allocations: 67.86 kB / 0.8872 GB, free: 11.44 MB / 0.8073 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.0002078/0.01649, allocations: 120.7 kB / 0.8874 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005329/0.01702, allocations: 368.3 kB / 0.8877 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01702, allocations: 448 / 0.8877 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.01717, allocations: 91.58 kB / 0.8878 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.01763, allocations: 23.97 kB / 0.8878 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.01819, allocations: 276 kB / 0.8881 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.01825, allocations: 68 kB / 0.8882 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.061e-05/0.01832, allocations: 21.48 kB / 0.8882 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.01838, allocations: 24.48 kB / 0.8882 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/0.01838, allocations: 0 / 0.8882 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of Templates: time 0.007034/0.02542, allocations: 2.908 MB / 0.891 GB, free: 7.527 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.63970090309158]