Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.748/1.748, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.000939/0.000939, allocations: 180.1 kB / 490.8 MB, free: 1.961 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.078/1.078, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.0008377, allocations: 94.97 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.704e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.172, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4681/0.6401, allocations: 148.5 MB / 1.357 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001659/0.6403, allocations: 64.58 kB / 1.357 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.001299/0.6416, allocations: 392.1 kB / 1.357 GB, free: 17.21 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.6417, allocations: 1.125 kB / 1.357 GB, free: 17.21 MB / 0.823 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.0002133/0.6419, allocations: 336.3 kB / 1.357 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.6419, allocations: 9.234 kB / 1.357 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.829e-05/0.6419, allocations: 6.031 kB / 1.357 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.6421, allocations: 190.2 kB / 1.358 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.6421, allocations: 2.281 kB / 1.358 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.6421, allocations: 2.875 kB / 1.358 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.939e-05/0.6422, allocations: 39.56 kB / 1.358 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.865e-05/0.6423, allocations: 69.38 kB / 1.358 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.6423, allocations: 2.062 kB / 1.358 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.6423, allocations: 3.906 kB / 1.358 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.6423, allocations: 5.25 kB / 1.358 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003314/0.6427, allocations: 444.7 kB / 1.358 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/0.6427, allocations: 177.3 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.6427, allocations: 84.14 kB / 1.358 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.6428, allocations: 75.39 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.6428, allocations: 111.7 kB / 1.358 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.6428, allocations: 0 / 1.358 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.103e-05/0.6429, allocations: 31.91 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.523e-05/0.6429, allocations: 52.84 kB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.643, allocations: 116.5 kB / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-06/0.643, allocations: 29.08 kB / 1.359 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.191e-05/0.643, allocations: 90.47 kB / 1.359 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-06/0.643, allocations: 0 / 1.359 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.643, allocations: 0 / 1.359 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6431, allocations: 324.9 kB / 1.359 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.6432, allocations: 6.938 kB / 1.359 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.6432, allocations: 10.95 kB / 1.359 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.6432, allocations: 11.14 kB / 1.359 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6432, allocations: 0 / 1.359 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.092e-05/0.6433, allocations: 47.62 kB / 1.359 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/0.6433, allocations: 6.484 kB / 1.359 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.6433, allocations: 0 / 1.359 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.6433, allocations: 2.766 kB / 1.359 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.81e-05/0.6434, allocations: 2.656 kB / 1.359 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.6434, allocations: 1.453 kB / 1.359 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.05e-05/0.6434, allocations: 7.562 kB / 1.359 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.6434, allocations: 1.031 kB / 1.359 GB, free: 31.09 MB / 0.8386 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 5.276e-05/0.6435, allocations: 181.9 kB / 1.359 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.6435, allocations: 111.9 kB / 1.359 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.6436, allocations: 119 kB / 1.36 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.505e-05/0.6436, allocations: 181 kB / 1.36 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.839e-05/0.6437, allocations: 182 kB / 1.36 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-05/0.6437, allocations: 182.2 kB / 1.36 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.6438, allocations: 398.6 kB / 1.36 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.6439, allocations: 106.9 kB / 1.361 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.89e-05/0.6439, allocations: 101.8 kB / 1.361 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.58e-05/0.6439, allocations: 178.1 kB / 1.361 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.644, allocations: 181.7 kB / 1.361 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-05/0.644, allocations: 182.8 kB / 1.361 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.675e-05/0.644, allocations: 178 kB / 1.361 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.503e-05/0.6441, allocations: 318.5 kB / 1.362 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.6442, allocations: 185.8 kB / 1.362 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.6442, allocations: 186.5 kB / 1.362 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/0.6443, allocations: 103.7 kB / 1.362 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.6443, allocations: 178 kB / 1.362 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.6444, allocations: 109.7 kB / 1.362 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.186e-05/0.6444, allocations: 94.14 kB / 1.362 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001932/0.6446, allocations: 8.312 kB / 1.363 GB, free: 27.59 MB / 0.8386 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 9.853e-05/0.6447, allocations: 178.8 kB / 1.363 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.434e-05/0.6448, allocations: 12.53 kB / 1.363 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.6448, allocations: 0 / 1.363 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.6448, allocations: 0 / 1.363 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.645, allocations: 0.5211 MB / 1.363 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001735/0.6452, allocations: 162.6 kB / 1.363 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.6454, allocations: 0.7054 MB / 1.364 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.6454, allocations: 0 / 1.364 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.001576/0.647, allocations: 311.7 kB / 1.364 GB, free: 25.99 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches