Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") [: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 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 249.4 MB / 256.7 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 181.2 kB / 316 MB, free: 3.523 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 98.14 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.193e-05/1.196e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2285, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6511/0.8797, allocations: 131.2 MB / 1.013 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.88, allocations: 70.45 kB / 1.013 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001709/0.8817, allocations: 383.9 kB / 1.013 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.639e-05/0.8817, allocations: 4 kB / 1.013 GB, free: 7.328 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004981/0.8822, allocations: 344.7 kB / 1.013 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.8823, allocations: 12.03 kB / 1.014 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.8824, allocations: 7.906 kB / 1.014 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.8827, allocations: 181.6 kB / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.8827, allocations: 0 / 1.014 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.8827, allocations: 4 kB / 1.014 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001177/0.8828, allocations: 41.61 kB / 1.014 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.883, allocations: 71.16 kB / 1.014 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.883, allocations: 0 / 1.014 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.883, allocations: 0 / 1.014 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.883, allocations: 0 / 1.014 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.8836, allocations: 454.2 kB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.8837, allocations: 169 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.8838, allocations: 84.14 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.8838, allocations: 79.38 kB / 1.015 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.102e-05/0.8839, allocations: 117.4 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.513e-06/0.8839, allocations: 4 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.886e-05/0.884, allocations: 25.7 kB / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.884, allocations: 51.41 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.8842, allocations: 111.7 kB / 1.015 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.8842, allocations: 33.69 kB / 1.015 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.8843, allocations: 95.2 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.8843, allocations: 0 / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.8843, allocations: 0 / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8844, allocations: 314.8 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.8845, allocations: 11 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.384e-05/0.8845, allocations: 7.984 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/0.8845, allocations: 10.19 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8845, allocations: 64 / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001522/0.8847, allocations: 65.45 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.8847, allocations: 6.5 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8847, allocations: 4 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.8847, allocations: 0 / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.8848, allocations: 4 kB / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.8848, allocations: 0 / 1.015 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.8848, allocations: 4 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.8849, allocations: 0 / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 9.75e-05/0.885, allocations: 187.5 kB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.885, allocations: 105 kB / 1.016 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.8851, allocations: 116.3 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.786e-05/0.8852, allocations: 176.3 kB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.23e-05/0.8853, allocations: 180.3 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-05/0.8853, allocations: 184.1 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.8856, allocations: 401.4 kB / 1.017 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.714e-05/0.8856, allocations: 101 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.8857, allocations: 104.9 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.8858, allocations: 180.3 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-05/0.8859, allocations: 180.2 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.092e-05/0.886, allocations: 187.8 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.322e-05/0.886, allocations: 176.6 kB / 1.018 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001629/0.8862, allocations: 312.9 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.591e-05/0.8863, allocations: 189.6 kB / 1.018 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.881e-05/0.8864, allocations: 176.3 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.8865, allocations: 112.9 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.8866, allocations: 180.2 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.8867, allocations: 105 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.926e-05/0.8867, allocations: 95.47 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002545/0.887, allocations: 7.938 kB / 1.019 GB, free: 1.375 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002231/0.8872, allocations: 182.5 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.59e-05/0.8873, allocations: 12 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8873, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.8873, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.8877, allocations: 0.5177 MB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.888, allocations: 154.8 kB / 1.02 GB, free: 492 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.8883, allocations: 0.7107 MB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/0.8884, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of Templates: time 0.002077/0.8904, allocations: 316.8 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches