Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.0009938/0.0009938, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001183/0.001183, allocations: 158.8 kB / 24.86 MB, free: 9.285 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 0.9739/0.9739, allocations: 177.2 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.92/1.92, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] 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.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0.875 kB / 0.8128 GB, free: 336 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/3.077e-05, allocations: 2.312 kB / 0.8128 GB, free: 332 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002357/0.002388, allocations: 0.5904 MB / 0.8133 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.004064, allocations: 1.161 MB / 0.8145 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.004094, allocations: 0 / 0.8145 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.004109, allocations: 1.031 kB / 0.8145 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.004156, allocations: 15.84 kB / 0.8145 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.004537, allocations: 120.2 kB / 0.8146 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.004692, allocations: 85.3 kB / 0.8147 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.847e-05/0.00475, allocations: 11.97 kB / 0.8147 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.322e-05/0.004834, allocations: 43.91 kB / 0.8147 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.152e-05/0.004915, allocations: 29.03 kB / 0.8148 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.004934, allocations: 8 kB / 0.8148 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.154e-05/0.004996, allocations: 19.98 kB / 0.8148 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.005011, allocations: 4.672 kB / 0.8148 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.005054, allocations: 27.92 kB / 0.8148 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.005189, allocations: 76.73 kB / 0.8149 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005191, allocations: 0 / 0.8149 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.72e-07/0.005192, allocations: 0.6562 kB / 0.8149 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.005195, allocations: 0 / 0.8149 GB, free: 14.15 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003669/0.005562, allocations: 403.1 kB / 0.8153 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.0056, allocations: 15.97 kB / 0.8153 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.005638, allocations: 6.188 kB / 0.8153 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.684e-05/0.005715, allocations: 112.6 kB / 0.8154 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.005728, allocations: 4.375 kB / 0.8154 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.005747, allocations: 8.375 kB / 0.8154 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.719e-05/0.005814, allocations: 61.89 kB / 0.8155 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.00582, allocations: 4.188 kB / 0.8155 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.005826, allocations: 384 / 0.8155 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.00583, allocations: 384 / 0.8155 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.187e-05/0.005842, allocations: 4.969 kB / 0.8155 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.006129, allocations: 264.3 kB / 0.8157 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.125e-05/0.00617, allocations: 23.06 kB / 0.8158 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.407e-05/0.006184, allocations: 13.28 kB / 0.8158 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-06/0.006187, allocations: 0 / 0.8158 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.006315, allocations: 94.67 kB / 0.8159 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.006316, allocations: 0.9688 kB / 0.8159 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001593/0.006475, allocations: 61.56 kB / 0.8159 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002927/0.006768, allocations: 59.39 kB / 0.816 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.006858, allocations: 162.7 kB / 0.8161 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.006877, allocations: 29.69 kB / 0.8162 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.006929, allocations: 131.5 kB / 0.8163 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-06/0.006938, allocations: 4.641 kB / 0.8163 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.006988, allocations: 39.34 kB / 0.8163 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.007142, allocations: 496.8 kB / 0.8168 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.337e-05/0.007195, allocations: 53.67 kB / 0.8169 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.007251, allocations: 77.8 kB / 0.8169 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.131e-05/0.007342, allocations: 89.44 kB / 0.817 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007344, allocations: 1.344 kB / 0.817 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000179/0.007523, allocations: 164.9 kB / 0.8172 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.007561, allocations: 33.7 kB / 0.8172 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.007569, allocations: 1.156 kB / 0.8172 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.007578, allocations: 3.938 kB / 0.8172 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.953e-05/0.007598, allocations: 4 kB / 0.8172 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.007606, allocations: 4.469 kB / 0.8172 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.007738, allocations: 24.81 kB / 0.8172 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.007757, allocations: 5.688 kB / 0.8172 GB, free: 11.48 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.927e-05/0.007856, allocations: 160.6 kB / 0.8174 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.376e-06/0.007864, allocations: 0 / 0.8174 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.007894, allocations: 15.98 kB / 0.8174 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.007898, allocations: 5.875 kB / 0.8174 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.007901, allocations: 0 / 0.8174 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.007905, allocations: 0 / 0.8174 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.88e-05/0.007994, allocations: 97.25 kB / 0.8175 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.007996, allocations: 320 / 0.8175 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-06/0.008001, allocations: 3.984 kB / 0.8175 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008003, allocations: 8.812 kB / 0.8175 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.008007, allocations: 0 / 0.8175 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008008, allocations: 3.406 kB / 0.8175 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008009, allocations: 0 / 0.8175 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.884e-05/0.008108, allocations: 96.27 kB / 0.8176 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-06/0.008113, allocations: 3.938 kB / 0.8176 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-06/0.008119, allocations: 0 / 0.8176 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.618e-06/0.008129, allocations: 7.984 kB / 0.8176 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.008158, allocations: 3.938 kB / 0.8176 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.008163, allocations: 0 / 0.8176 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.401e-05/0.008227, allocations: 127.2 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.008227, allocations: 0.625 kB / 0.8178 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001548/0.008382, allocations: 23.92 kB / 0.8178 GB, free: 10.87 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001391/0.008521, allocations: 97.34 kB / 0.8179 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.008677, allocations: 140.7 kB / 0.818 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.008678, allocations: 0 / 0.818 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.0087, allocations: 16.58 kB / 0.818 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.008879, allocations: 19.67 kB / 0.818 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.009163, allocations: 126.2 kB / 0.8182 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.009205, allocations: 55.36 kB / 0.8182 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.14e-05/0.009226, allocations: 4.797 kB / 0.8182 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.009321, allocations: 86.19 kB / 0.8183 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.009322, allocations: 0.9375 kB / 0.8183 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.002655/0.01198, allocations: 1.328 MB / 0.8196 GB, free: 8.992 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.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.27129293885082]