Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assert.u",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.806/1.806, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 184.5 kB / 487 MB, free: 5.367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.135/1.135, allocations: 221.3 MB / 0.7819 GB, free: 1.371 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008325/0.0008324, allocations: 100.4 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.27e-06/5.29e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1961, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5381/0.7343, allocations: 148.6 MB / 1.35 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.7345, allocations: 72.36 kB / 1.35 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004473/0.739, allocations: 1.469 MB / 1.352 GB, free: 16.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.739, allocations: 0 / 1.352 GB, free: 16.07 MB / 0.8073 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.0002418/0.7393, allocations: 361.9 kB / 1.352 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.7393, allocations: 8.25 kB / 1.352 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.7393, allocations: 11.97 kB / 1.352 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.566e-05/0.7394, allocations: 165.9 kB / 1.352 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.7394, allocations: 5.312 kB / 1.352 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.7395, allocations: 4.125 kB / 1.352 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.613e-05/0.7395, allocations: 2.656 kB / 1.352 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.332e-05/0.7396, allocations: 41.41 kB / 1.352 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.7396, allocations: 0 / 1.352 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.7396, allocations: 0 / 1.352 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.7396, allocations: 3.984 kB / 1.352 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.7399, allocations: 268.1 kB / 1.353 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.078e-05/0.7399, allocations: 21.27 kB / 1.353 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.7399, allocations: 15.27 kB / 1.353 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.74, allocations: 0 / 1.353 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.194e-05/0.74, allocations: 50.73 kB / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.74, allocations: 0 / 1.353 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001232/0.7401, allocations: 50.06 kB / 1.353 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.7402, allocations: 52.81 kB / 1.353 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.979e-05/0.7402, allocations: 111.9 kB / 1.353 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.7403, allocations: 28.05 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.7403, allocations: 84.16 kB / 1.353 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.316e-06/0.7403, allocations: 9.094 kB / 1.353 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.7403, allocations: 1.469 kB / 1.353 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.973e-05/0.7404, allocations: 313.3 kB / 1.353 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.209e-05/0.7404, allocations: 31.11 kB / 1.353 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.7405, allocations: 41.61 kB / 1.353 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.7407, allocations: 34.36 kB / 1.353 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7407, allocations: 1.344 kB / 1.353 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002576/0.7409, allocations: 115.2 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.7409, allocations: 5.25 kB / 1.354 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.741, allocations: 5.078 kB / 1.354 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.741, allocations: 4.875 kB / 1.354 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.342e-05/0.741, allocations: 1 kB / 1.354 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.741, allocations: 7.578 kB / 1.354 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.7412, allocations: 38.77 kB / 1.354 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.7412, allocations: 6.188 kB / 1.354 GB, free: 14.41 MB / 0.8073 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 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.7413, allocations: 104.2 kB / 1.354 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.7413, allocations: 10.09 kB / 1.354 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.7413, allocations: 13.17 kB / 1.354 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.7413, allocations: 3.938 kB / 1.354 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.7413, allocations: 1.219 kB / 1.354 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.7413, allocations: 0 / 1.354 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.329e-05/0.7414, allocations: 140 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.7414, allocations: 1.156 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-06/0.7414, allocations: 0 / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7414, allocations: 5.125 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.7414, allocations: 2.625 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.7414, allocations: 0 / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7415, allocations: 4 kB / 1.354 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.926e-05/0.7415, allocations: 74 kB / 1.354 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.7416, allocations: 79.02 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.7416, allocations: 1 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.629e-05/0.7416, allocations: 3.188 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.7416, allocations: 1.156 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.7416, allocations: 2.844 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.165e-05/0.7417, allocations: 87.81 kB / 1.354 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001973/0.7419, allocations: 20.42 kB / 1.354 GB, free: 13.88 MB / 0.8073 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000123/0.742, allocations: 114.4 kB / 1.354 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001508/0.7421, allocations: 75.03 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7422, allocations: 0 / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.7422, allocations: 15.72 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.7423, allocations: 6.406 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001623/0.7425, allocations: 71.33 kB / 1.354 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.7427, allocations: 0.6907 MB / 1.355 GB, free: 28.97 MB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/0.7427, allocations: 0 / 1.355 GB, free: 28.97 MB / 0.823 GB Notification: Performance of Templates: time 0.002875/0.7456, allocations: 0.9223 MB / 1.356 GB, free: 28.88 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches