Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.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.Obsolete.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.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.Obsolete.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.849/1.849, allocations: 387.2 MB / 394.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 185 kB / 487 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 221.3 MB / 0.7819 GB, free: 6.805 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009066/0.0009067, allocations: 96.55 kB / 0.9213 GB, free: 43.72 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 7.995e-06/8.025e-06, allocations: 4 kB / 1.066 GB, free: 7.582 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.589/0.5891, allocations: 142.3 MB / 1.205 GB, free: 72.64 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.7497, allocations: 148.6 MB / 1.35 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.75, allocations: 87.92 kB / 1.35 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.002205/0.7522, allocations: 0.576 MB / 1.351 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.7522, allocations: 0.7812 kB / 1.351 GB, free: 14.07 MB / 0.8542 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.0003949/0.7526, allocations: 375.7 kB / 1.351 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.7527, allocations: 8.031 kB / 1.351 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.001e-05/0.7527, allocations: 8 kB / 1.351 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.7528, allocations: 172 kB / 1.352 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.7528, allocations: 0 / 1.352 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.7529, allocations: 4 kB / 1.352 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.697e-05/0.753, allocations: 16.62 kB / 1.352 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.787e-05/0.7531, allocations: 45.62 kB / 1.352 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.7531, allocations: 3.984 kB / 1.352 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.7531, allocations: 0 / 1.352 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.7531, allocations: 8.469 kB / 1.352 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.7536, allocations: 292.7 kB / 1.352 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.38e-05/0.7537, allocations: 33.2 kB / 1.352 GB, free: 13 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.7537, allocations: 20.86 kB / 1.352 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.7537, allocations: 0 / 1.352 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.7537, allocations: 38.44 kB / 1.352 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.7538, allocations: 4 kB / 1.352 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001536/0.7539, allocations: 45.78 kB / 1.352 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.754, allocations: 51.41 kB / 1.352 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.994e-05/0.754, allocations: 105.2 kB / 1.352 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.754, allocations: 25.7 kB / 1.352 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.7541, allocations: 88.03 kB / 1.352 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.7541, allocations: 11.84 kB / 1.352 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.7541, allocations: 0 / 1.352 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.7542, allocations: 318.8 kB / 1.353 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.7542, allocations: 8 kB / 1.353 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.7543, allocations: 12 kB / 1.353 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.387e-05/0.7543, allocations: 11.98 kB / 1.353 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7543, allocations: 0 / 1.353 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.413e-05/0.7544, allocations: 49.55 kB / 1.353 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.7544, allocations: 8 kB / 1.353 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.7544, allocations: 4.344 kB / 1.353 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.7544, allocations: 0 / 1.353 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.7546, allocations: 27.97 kB / 1.353 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.7546, allocations: 0 / 1.353 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.434e-05/0.7547, allocations: 19.98 kB / 1.353 GB, free: 12.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.7547, allocations: 7.906 kB / 1.353 GB, free: 12.09 MB / 0.8542 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.91e-05/0.7548, allocations: 105 kB / 1.353 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.7548, allocations: 3.906 kB / 1.353 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.7549, allocations: 8 kB / 1.353 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7549, allocations: 0 / 1.353 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7549, allocations: 0 / 1.353 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.7549, allocations: 3.984 kB / 1.353 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.755, allocations: 150.7 kB / 1.353 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.755, allocations: 0 / 1.353 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.7551, allocations: 19.98 kB / 1.353 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7552, allocations: 1.062 kB / 1.353 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.7552, allocations: 4 kB / 1.353 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7552, allocations: 3.906 kB / 1.353 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.7552, allocations: 7.938 kB / 1.353 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001206/0.7553, allocations: 151.4 kB / 1.353 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.7553, allocations: 77.11 kB / 1.353 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.7554, allocations: 4.219 kB / 1.353 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.7555, allocations: 21.48 kB / 1.353 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.7555, allocations: 7.906 kB / 1.353 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.7556, allocations: 7.984 kB / 1.353 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.874e-05/0.7556, allocations: 92.48 kB / 1.353 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002035/0.7559, allocations: 4 kB / 1.353 GB, free: 11.36 MB / 0.8542 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.0001071/0.756, allocations: 99.25 kB / 1.353 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.7561, allocations: 27.94 kB / 1.353 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.7561, allocations: 0 / 1.353 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.7561, allocations: 12 kB / 1.354 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.7563, allocations: 7.984 kB / 1.354 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.7565, allocations: 77.48 kB / 1.354 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002301/0.7568, allocations: 0.6954 MB / 1.354 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/0.7568, allocations: 4 kB / 1.354 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of Templates: time 0.002283/0.7591, allocations: 0.6205 MB / 1.355 GB, free: 9.805 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches