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.001083/0.001083, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001681/0.001681, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.045/1.045, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.878/1.878, allocations: 377.8 MB / 0.6239 GB, free: 8.562 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.695e-06/2.695e-06, allocations: 0 / 0.8115 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.331e-05, allocations: 7.234 kB / 0.8115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.00203/0.002063, allocations: 0.6036 MB / 0.8121 GB, free: 384 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.003654, allocations: 1.165 MB / 0.8132 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.003704, allocations: 0 / 0.8132 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.003736, allocations: 0 / 0.8132 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.905e-05/0.003815, allocations: 13.14 kB / 0.8132 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.004307, allocations: 112.3 kB / 0.8133 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.004489, allocations: 91.77 kB / 0.8134 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.00459, allocations: 12.88 kB / 0.8134 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.004709, allocations: 43.97 kB / 0.8135 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.995e-05/0.004809, allocations: 24.56 kB / 0.8135 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.004835, allocations: 8 kB / 0.8135 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.999e-05/0.004905, allocations: 24.53 kB / 0.8135 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.004927, allocations: 5.156 kB / 0.8135 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.714e-05/0.004984, allocations: 23.97 kB / 0.8136 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.005163, allocations: 71.84 kB / 0.8136 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.005166, allocations: 0.875 kB / 0.8136 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.754e-06/0.005168, allocations: 0 / 0.8136 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.005173, allocations: 0 / 0.8136 GB, free: 14.78 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.0004739/0.005647, allocations: 403.1 kB / 0.814 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.005694, allocations: 8.031 kB / 0.814 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.005759, allocations: 8.938 kB / 0.814 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.005869, allocations: 122 kB / 0.8142 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.005887, allocations: 8.375 kB / 0.8142 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.005907, allocations: 4.375 kB / 0.8142 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.00628, allocations: 61.48 kB / 0.8142 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.00629, allocations: 192 / 0.8142 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.006303, allocations: 384 / 0.8142 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.006314, allocations: 384 / 0.8142 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.006339, allocations: 9.781 kB / 0.8142 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.006711, allocations: 275.8 kB / 0.8145 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.006e-05/0.006761, allocations: 27 kB / 0.8145 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.006781, allocations: 15.73 kB / 0.8145 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.006787, allocations: 0 / 0.8145 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.006913, allocations: 92.06 kB / 0.8146 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.006914, allocations: 0 / 0.8146 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002072/0.007121, allocations: 65.55 kB / 0.8147 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.007162, allocations: 52.03 kB / 0.8147 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.007266, allocations: 165.9 kB / 0.8149 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.007287, allocations: 30.3 kB / 0.8149 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/0.007349, allocations: 136.9 kB / 0.8151 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/0.007359, allocations: 7.953 kB / 0.8151 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.007423, allocations: 35.36 kB / 0.8151 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.00757, allocations: 0.4884 MB / 0.8156 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.007653, allocations: 53.69 kB / 0.8156 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.007747, allocations: 84.92 kB / 0.8157 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.007849, allocations: 89.92 kB / 0.8158 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.007852, allocations: 1.406 kB / 0.8158 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002607/0.008112, allocations: 176.9 kB / 0.816 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.97e-05/0.008152, allocations: 37.64 kB / 0.816 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.008159, allocations: 4.609 kB / 0.816 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.008173, allocations: 1.062 kB / 0.816 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.662e-05/0.00819, allocations: 4 kB / 0.816 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.008196, allocations: 0 / 0.816 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.008349, allocations: 16.73 kB / 0.816 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.00837, allocations: 8.719 kB / 0.816 GB, free: 12.05 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.307e-05/0.008463, allocations: 169.8 kB / 0.8162 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.008477, allocations: 0 / 0.8162 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.243e-05/0.008509, allocations: 11.94 kB / 0.8162 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.008512, allocations: 0 / 0.8162 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.008515, allocations: 0.8125 kB / 0.8162 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.008518, allocations: 0 / 0.8162 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.241e-05/0.008601, allocations: 117.9 kB / 0.8163 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.008605, allocations: 4 kB / 0.8163 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.008618, allocations: 4 kB / 0.8163 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.008621, allocations: 1.344 kB / 0.8163 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.008628, allocations: 0 / 0.8163 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.008633, allocations: 7.922 kB / 0.8163 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.008634, allocations: 0.9688 kB / 0.8163 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.008746, allocations: 100.3 kB / 0.8164 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.911e-06/0.008752, allocations: 0 / 0.8164 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.008763, allocations: 6.312 kB / 0.8164 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.333e-05/0.008777, allocations: 3.938 kB / 0.8164 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.008808, allocations: 3.984 kB / 0.8164 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.008815, allocations: 4 kB / 0.8164 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.251e-05/0.008857, allocations: 127.2 kB / 0.8166 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008857, allocations: 0 / 0.8166 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001504/0.009008, allocations: 15.44 kB / 0.8166 GB, free: 11.43 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.0001471/0.009155, allocations: 107.2 kB / 0.8167 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001854/0.00934, allocations: 140.7 kB / 0.8168 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.009342, allocations: 0 / 0.8168 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.124e-05/0.009373, allocations: 19.61 kB / 0.8168 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.009555, allocations: 12 kB / 0.8169 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.009826, allocations: 127 kB / 0.817 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.312e-05/0.009859, allocations: 55.86 kB / 0.817 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.997e-05/0.009879, allocations: 4.562 kB / 0.817 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.009898, allocations: 9.062 kB / 0.817 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of SimCode: time 9.92e-07/0.009899, allocations: 0 / 0.817 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.002985/0.01288, allocations: 1.203 MB / 0.8182 GB, free: 9.734 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.281496751820669]