Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [: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.769/1.769, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009794/0.0009795, 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.127/1.127, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.000822/0.000822, allocations: 97.86 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.222e-06/6.242e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1823, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/0.7017, allocations: 147.5 MB / 1.349 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001526/0.7019, allocations: 69 kB / 1.349 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0002884/0.7022, allocations: 52.2 kB / 1.349 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.7022, allocations: 0.5 kB / 1.349 GB, free: 16.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001409/0.7024, allocations: 303.7 kB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.7024, allocations: 9.625 kB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.7024, allocations: 1.062 kB / 1.35 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.805e-05/0.7025, allocations: 168.5 kB / 1.35 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.7025, allocations: 0 / 1.35 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.7025, allocations: 2.312 kB / 1.35 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.44e-05/0.7026, allocations: 1.25 kB / 1.35 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.098e-05/0.7026, allocations: 30.77 kB / 1.35 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.7026, allocations: 0 / 1.35 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.7027, allocations: 5.062 kB / 1.35 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.7027, allocations: 0 / 1.35 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.7028, allocations: 365.5 kB / 1.35 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/0.7029, allocations: 169.5 kB / 1.35 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.7029, allocations: 86.2 kB / 1.351 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.7029, allocations: 75.28 kB / 1.351 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.703, allocations: 116.8 kB / 1.351 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.703, allocations: 0 / 1.351 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.657e-05/0.703, allocations: 28.23 kB / 1.351 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.549e-05/0.7031, allocations: 51.41 kB / 1.351 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.964e-05/0.7031, allocations: 86.22 kB / 1.351 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-06/0.7031, allocations: 26.78 kB / 1.351 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.7031, allocations: 81.55 kB / 1.351 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.7031, allocations: 4.125 kB / 1.351 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-07/0.7032, allocations: 0 / 1.351 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.305e-05/0.7032, allocations: 319.6 kB / 1.351 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-06/0.7032, allocations: 0 / 1.351 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-06/0.7032, allocations: 1.266 kB / 1.351 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.244e-05/0.7032, allocations: 76.56 kB / 1.351 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.7032, allocations: 76.48 kB / 1.351 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.782e-05/0.7033, allocations: 32.92 kB / 1.351 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.7033, allocations: 5.156 kB / 1.351 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.7033, allocations: 84.36 kB / 1.352 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.7034, allocations: 151.9 kB / 1.352 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-06/0.7034, allocations: 80.06 kB / 1.352 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.7034, allocations: 152 kB / 1.352 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.909e-05/0.7035, allocations: 76.92 kB / 1.352 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.7035, allocations: 81.06 kB / 1.352 GB, free: 13.36 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 (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 prepare postOptimizeDAE: time 4.775e-05/0.7035, allocations: 267.6 kB / 1.352 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.7036, allocations: 102.3 kB / 1.352 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.7036, allocations: 114.8 kB / 1.353 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/0.7036, allocations: 180.2 kB / 1.353 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/0.7036, allocations: 179 kB / 1.353 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.212e-05/0.7037, allocations: 180.6 kB / 1.353 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.7038, allocations: 390 kB / 1.353 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.7038, allocations: 106.8 kB / 1.353 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.7038, allocations: 102.4 kB / 1.354 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.366e-05/0.7039, allocations: 185.6 kB / 1.354 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.7039, allocations: 181.5 kB / 1.354 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-05/0.7039, allocations: 179 kB / 1.354 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.543e-05/0.704, allocations: 181.7 kB / 1.354 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.222e-05/0.704, allocations: 300.1 kB / 1.355 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.7041, allocations: 189.2 kB / 1.355 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.7041, allocations: 185.4 kB / 1.355 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/0.7041, allocations: 103.5 kB / 1.355 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.7042, allocations: 185 kB / 1.355 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.7042, allocations: 103.1 kB / 1.355 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.53e-05/0.7042, allocations: 79.75 kB / 1.355 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002188/0.7044, allocations: 1.125 kB / 1.355 GB, free: 9.797 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.0001448/0.7046, allocations: 177 kB / 1.356 GB, free: 25.63 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.294e-05/0.7046, allocations: 0 / 1.356 GB, free: 25.63 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.7046, allocations: 1.219 kB / 1.356 GB, free: 25.63 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.7046, allocations: 3.938 kB / 1.356 GB, free: 25.63 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.7049, allocations: 0.5209 MB / 1.356 GB, free: 25.11 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001823/0.7051, allocations: 117.7 kB / 1.356 GB, free: 24.97 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.7053, allocations: 0.6808 MB / 1.357 GB, free: 24.27 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7053, allocations: 0 / 1.357 GB, free: 24.27 MB / 0.823 GB Notification: Performance of Templates: time 0.001264/0.7065, allocations: 144.4 kB / 1.357 GB, free: 24.23 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches