Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") [: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.755/1.755, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009513/0.0009513, allocations: 184.3 kB / 487 MB, free: 5.359 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.11/1.11, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0007847/0.0007847, allocations: 90.39 kB / 0.9213 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.814e-06/7.824e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1838, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5189/0.7027, allocations: 148 MB / 1.35 GB, free: 16.11 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.7029, allocations: 69.09 kB / 1.35 GB, free: 16.11 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002038/0.705, allocations: 0.5167 MB / 1.35 GB, free: 16.07 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.705, allocations: 1.094 kB / 1.35 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003719/0.7054, allocations: 365 kB / 1.351 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.7054, allocations: 8.625 kB / 1.351 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.7055, allocations: 6.312 kB / 1.351 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.7056, allocations: 171.5 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.7056, allocations: 1.219 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.7056, allocations: 1.406 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.266e-05/0.7057, allocations: 18.06 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.057e-05/0.7058, allocations: 40.86 kB / 1.351 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.7058, allocations: 0 / 1.351 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.7059, allocations: 1.344 kB / 1.351 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7059, allocations: 0 / 1.351 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.7063, allocations: 295.8 kB / 1.351 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.7064, allocations: 31.5 kB / 1.351 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.904e-05/0.7065, allocations: 15.95 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.7065, allocations: 1.312 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.7065, allocations: 38.12 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.7065, allocations: 0.6562 kB / 1.351 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001861/0.7067, allocations: 49.23 kB / 1.351 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.7067, allocations: 52.66 kB / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.907e-05/0.7068, allocations: 109 kB / 1.351 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.7068, allocations: 25.7 kB / 1.352 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.7069, allocations: 87.05 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.7069, allocations: 11.48 kB / 1.352 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.7069, allocations: 7.938 kB / 1.352 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.707, allocations: 317.6 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.707, allocations: 4 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.707, allocations: 8.25 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.384e-05/0.7071, allocations: 9.812 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7071, allocations: 1.531 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.23e-05/0.7072, allocations: 53.03 kB / 1.352 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.7072, allocations: 5.969 kB / 1.352 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.7072, allocations: 0 / 1.352 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.7072, allocations: 5.375 kB / 1.352 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.7074, allocations: 21.03 kB / 1.352 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.7074, allocations: 0 / 1.352 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.681e-05/0.7075, allocations: 22.67 kB / 1.352 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.7075, allocations: 1.719 kB / 1.352 GB, free: 14.48 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 (3): * Single equations (assignments): 3 * 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.592e-05/0.7076, allocations: 106 kB / 1.352 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.7076, allocations: 5.094 kB / 1.352 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.7076, allocations: 10.02 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.7076, allocations: 0.8125 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7076, allocations: 4.781 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.7076, allocations: 1.5 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.7078, allocations: 150.5 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.7078, allocations: 4.891 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.7079, allocations: 23.34 kB / 1.352 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.7079, allocations: 5.125 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.7079, allocations: 1.172 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7079, allocations: 1.281 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7079, allocations: 0 / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.573e-05/0.708, allocations: 143.6 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.708, allocations: 83.84 kB / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.7081, allocations: 0.9062 kB / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.7082, allocations: 21.69 kB / 1.353 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.7082, allocations: 8.312 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.7082, allocations: 5.062 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.331e-05/0.7083, allocations: 84.72 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002084/0.7085, allocations: 10.56 kB / 1.353 GB, free: 13.87 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 (3): * Single equations (assignments): 3 * 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.0001085/0.7086, allocations: 102.5 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.809e-05/0.7087, allocations: 24.28 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7087, allocations: 1.469 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.7087, allocations: 10.88 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.7089, allocations: 9.375 kB / 1.353 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002044/0.7091, allocations: 76.42 kB / 1.353 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.7093, allocations: 0.7017 MB / 1.354 GB, free: 29 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.7093, allocations: 0 / 1.354 GB, free: 29 MB / 0.823 GB Notification: Performance of Templates: time 0.002161/0.7115, allocations: 0.6015 MB / 1.354 GB, free: 28.95 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches