Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.781/1.781, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.0009617/0.0009617, allocations: 185.2 kB / 487 MB, free: 5.355 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.115/1.115, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0008165/0.0008165, allocations: 101.9 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.654e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1774, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5231/0.7005, allocations: 147.7 MB / 1.349 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.7008, allocations: 69.42 kB / 1.349 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001412/0.7022, allocations: 390.5 kB / 1.35 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.7022, allocations: 0.9375 kB / 1.35 GB, free: 15.92 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002088/0.7024, allocations: 336.9 kB / 1.35 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7025, allocations: 8.531 kB / 1.35 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.7025, allocations: 4.438 kB / 1.35 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.7027, allocations: 187 kB / 1.35 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.7027, allocations: 2.312 kB / 1.35 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.7027, allocations: 2.562 kB / 1.35 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.646e-05/0.7028, allocations: 42.02 kB / 1.35 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.703, allocations: 69.91 kB / 1.35 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.703, allocations: 5.062 kB / 1.35 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.703, allocations: 0 / 1.35 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.703, allocations: 1.156 kB / 1.35 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.7033, allocations: 450.8 kB / 1.351 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.7034, allocations: 170.8 kB / 1.351 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.7034, allocations: 84.39 kB / 1.351 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.7034, allocations: 83.27 kB / 1.351 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.7035, allocations: 107.1 kB / 1.351 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.7035, allocations: 0 / 1.351 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.645e-05/0.7035, allocations: 33.53 kB / 1.351 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.7036, allocations: 55.34 kB / 1.351 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.7037, allocations: 113.6 kB / 1.352 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-06/0.7037, allocations: 25.7 kB / 1.352 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.7037, allocations: 93.86 kB / 1.352 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.7037, allocations: 4 kB / 1.352 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.7037, allocations: 1.406 kB / 1.352 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.7038, allocations: 317.5 kB / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.7038, allocations: 13.12 kB / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.26e-05/0.7038, allocations: 7.938 kB / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.7038, allocations: 11.89 kB / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.7038, allocations: 0 / 1.352 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001075/0.704, allocations: 48.33 kB / 1.352 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.704, allocations: 9.688 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.704, allocations: 0 / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.704, allocations: 0 / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.304e-05/0.7041, allocations: 7.953 kB / 1.352 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.7041, allocations: 5.219 kB / 1.352 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.7041, allocations: 2.562 kB / 1.352 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.7041, allocations: 2.453 kB / 1.352 GB, free: 13.8 MB / 0.8073 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 4.727e-05/0.7042, allocations: 184.3 kB / 1.352 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.7042, allocations: 111.8 kB / 1.352 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.302e-05/0.7043, allocations: 110.9 kB / 1.352 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-05/0.7043, allocations: 183.1 kB / 1.353 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/0.7043, allocations: 176.3 kB / 1.353 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/0.7044, allocations: 179.4 kB / 1.353 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.7045, allocations: 400 kB / 1.353 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/0.7045, allocations: 108.9 kB / 1.353 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.441e-05/0.7045, allocations: 102.2 kB / 1.354 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.513e-05/0.7046, allocations: 182.7 kB / 1.354 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.7046, allocations: 177.6 kB / 1.354 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.23e-05/0.7046, allocations: 177.8 kB / 1.354 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.499e-05/0.7046, allocations: 193.3 kB / 1.354 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.237e-05/0.7047, allocations: 303.5 kB / 1.355 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.7048, allocations: 190 kB / 1.355 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.7048, allocations: 179.1 kB / 1.355 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.7049, allocations: 106 kB / 1.355 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.7049, allocations: 186.6 kB / 1.355 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.7049, allocations: 102.3 kB / 1.355 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.995e-05/0.705, allocations: 97.22 kB / 1.355 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002061/0.7052, allocations: 13.06 kB / 1.355 GB, free: 10.31 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: 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.0001088/0.7053, allocations: 175.6 kB / 1.356 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.5e-05/0.7053, allocations: 7.609 kB / 1.356 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7054, allocations: 4.062 kB / 1.356 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.7054, allocations: 6.75 kB / 1.356 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.7056, allocations: 0.5224 MB / 1.356 GB, free: 25.62 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.7059, allocations: 156 kB / 1.356 GB, free: 25.47 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.7061, allocations: 0.7078 MB / 1.357 GB, free: 24.76 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7061, allocations: 0 / 1.357 GB, free: 24.76 MB / 0.823 GB Notification: Performance of Templates: time 0.001958/0.7081, allocations: 312.6 kB / 1.357 GB, free: 24.71 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches