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.001036/0.001036, 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.001608/0.001608, 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.026/1.026, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.217/2.217, allocations: 429.5 MB / 0.6733 GB, free: 4.02 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 2.254e-06/2.254e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.289e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001343/0.001366, allocations: 0.7451 MB / 0.8789 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.002802, allocations: 1.314 MB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.002869, allocations: 0 / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.002908, allocations: 7.875 kB / 0.8802 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.17e-05/0.003, allocations: 23.78 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.003602, allocations: 243.4 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.003894, allocations: 252.5 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.004025, allocations: 16.16 kB / 0.8807 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.004201, allocations: 147.8 kB / 0.8809 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.00434, allocations: 69.98 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.004372, allocations: 20 kB / 0.8809 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.094e-05/0.004453, allocations: 39.81 kB / 0.881 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.004485, allocations: 29.02 kB / 0.881 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.812e-05/0.004563, allocations: 75.86 kB / 0.8811 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.00477, allocations: 163.6 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004773, allocations: 1.062 kB / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.243e-06/0.004774, allocations: 0 / 0.8812 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.004779, allocations: 0 / 0.8812 GB, free: 3.156 MB / 0.8386 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.0006375/0.005416, allocations: 0.5186 MB / 0.8818 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.005455, allocations: 8.031 kB / 0.8818 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.005536, allocations: 28.88 kB / 0.8818 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.005723, allocations: 164.4 kB / 0.8819 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.005758, allocations: 16.36 kB / 0.882 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.00579, allocations: 24.25 kB / 0.882 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.00599, allocations: 145.1 kB / 0.8821 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.005999, allocations: 1.062 kB / 0.8821 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.006014, allocations: 8.359 kB / 0.8821 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.006022, allocations: 384 / 0.8821 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.006099, allocations: 56.42 kB / 0.8822 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.00664, allocations: 0.5076 MB / 0.8827 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.006834, allocations: 135.5 kB / 0.8828 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.567e-05/0.006889, allocations: 51.34 kB / 0.8829 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-06/0.006898, allocations: 4.562 kB / 0.8829 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.007127, allocations: 215.5 kB / 0.8831 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.032e-06/0.007128, allocations: 0 / 0.8831 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0003942/0.007522, allocations: 293.4 kB / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.007565, allocations: 89.03 kB / 0.8834 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.284e-05/0.007658, allocations: 193.2 kB / 0.8836 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.007689, allocations: 37.7 kB / 0.8837 GB, free: 480 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.007753, allocations: 147.3 kB / 0.8838 GB, free: 328 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.007789, allocations: 47.67 kB / 0.8838 GB, free: 280 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-05/0.007869, allocations: 79.34 kB / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.008002, allocations: 0.4961 MB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.008138, allocations: 135.6 kB / 0.8845 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.008295, allocations: 225.6 kB / 0.8847 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.00849, allocations: 244.8 kB / 0.885 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.008493, allocations: 0 / 0.885 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003816/0.008875, allocations: 416 kB / 0.8854 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.008916, allocations: 67.39 kB / 0.8854 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.008923, allocations: 7.938 kB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.00894, allocations: 4 kB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.009019, allocations: 23.92 kB / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.009026, allocations: 4 kB / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.009186, allocations: 60.06 kB / 0.8855 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.009211, allocations: 19.98 kB / 0.8856 GB, free: 14.34 MB / 0.8542 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.0001103/0.009321, allocations: 190.4 kB / 0.8857 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.009349, allocations: 31.89 kB / 0.8858 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.009383, allocations: 12.44 kB / 0.8858 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.009386, allocations: 4 kB / 0.8858 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.00939, allocations: 0 / 0.8858 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.009395, allocations: 3.984 kB / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.009798, allocations: 0.6292 MB / 0.8864 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.0098, allocations: 0 / 0.8864 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.009828, allocations: 12 kB / 0.8864 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.009831, allocations: 0 / 0.8864 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.009844, allocations: 7.984 kB / 0.8864 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.009845, allocations: 0 / 0.8864 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.009848, allocations: 3.938 kB / 0.8864 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.01016, allocations: 0.5105 MB / 0.8869 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.064e-05/0.01017, allocations: 11.94 kB / 0.8869 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.01019, allocations: 8 kB / 0.8869 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.01027, allocations: 15.98 kB / 0.887 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-05/0.01033, allocations: 27.94 kB / 0.887 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.01034, allocations: 16 kB / 0.887 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.01039, allocations: 134.4 kB / 0.8871 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01039, allocations: 0 / 0.8871 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002452/0.01064, allocations: 63.92 kB / 0.8872 GB, free: 12.6 MB / 0.8542 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.0001174/0.01076, allocations: 116.7 kB / 0.8873 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.01111, allocations: 369.8 kB / 0.8876 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01111, allocations: 0 / 0.8876 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.01121, allocations: 88.83 kB / 0.8877 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.01147, allocations: 32.3 kB / 0.8878 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.01188, allocations: 277.8 kB / 0.888 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.01193, allocations: 75.84 kB / 0.8881 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.913e-05/0.01198, allocations: 17.73 kB / 0.8881 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.01201, allocations: 24.48 kB / 0.8881 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of SimCode: time 9.11e-07/0.01202, allocations: 0 / 0.8881 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of Templates: time 0.00485/0.01686, allocations: 3.087 MB / 0.8912 GB, free: 8.488 MB / 0.8542 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.600866885390133]