Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") [: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.824/1.824, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001053/0.001053, allocations: 173.3 kB / 487 MB, free: 5.332 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.158/1.158, allocations: 221.3 MB / 0.7819 GB, free: 1.348 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.0008223/0.0008223, allocations: 98.06 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.434e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1844, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5061/0.6905, allocations: 148 MB / 1.35 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001582/0.6907, allocations: 64.52 kB / 1.35 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001846/0.6926, allocations: 0.5187 MB / 1.35 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.6926, allocations: 1 kB / 1.35 GB, free: 15.61 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.0002955/0.6929, allocations: 362.1 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.693, allocations: 8.781 kB / 1.351 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.693, allocations: 9.609 kB / 1.351 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.766e-05/0.6931, allocations: 171.1 kB / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.6931, allocations: 1.062 kB / 1.351 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.6931, allocations: 5.688 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.256e-05/0.6932, allocations: 16.91 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.204e-05/0.6932, allocations: 50.34 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.6933, allocations: 0 / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.6933, allocations: 0 / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.6933, allocations: 0.875 kB / 1.351 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.6935, allocations: 244.2 kB / 1.351 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.414e-05/0.6936, allocations: 35.14 kB / 1.351 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.6936, allocations: 17.61 kB / 1.351 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.6936, allocations: 1.469 kB / 1.351 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.134e-05/0.6936, allocations: 34.5 kB / 1.351 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.6936, allocations: 0 / 1.351 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001265/0.6938, allocations: 52.95 kB / 1.351 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.6938, allocations: 51.41 kB / 1.351 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.672e-05/0.6939, allocations: 105.9 kB / 1.351 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.6939, allocations: 25.7 kB / 1.351 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.798e-05/0.6939, allocations: 86.94 kB / 1.352 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.6939, allocations: 9.094 kB / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.6939, allocations: 0 / 1.352 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.908e-05/0.694, allocations: 317.1 kB / 1.352 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.694, allocations: 8.281 kB / 1.352 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.694, allocations: 9.875 kB / 1.352 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.91e-05/0.694, allocations: 10.81 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.694, allocations: 0 / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.244e-05/0.6941, allocations: 57.83 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.6941, allocations: 4.656 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.6941, allocations: 0 / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.6942, allocations: 1.438 kB / 1.352 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.6943, allocations: 25.83 kB / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6943, allocations: 9.125 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.759e-05/0.6944, allocations: 18.22 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.6944, allocations: 0 / 1.352 GB, free: 14.02 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 3.694e-05/0.6945, allocations: 106.2 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.6945, allocations: 6.031 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.6945, allocations: 10.86 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.6945, allocations: 0 / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.6945, allocations: 1.25 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-06/0.6945, allocations: 1.203 kB / 1.352 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.51e-05/0.6946, allocations: 147 kB / 1.352 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6946, allocations: 192 / 1.352 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.6947, allocations: 25.38 kB / 1.352 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6948, allocations: 2.562 kB / 1.352 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.6948, allocations: 4.984 kB / 1.352 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6948, allocations: 1.5 kB / 1.352 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.6948, allocations: 0 / 1.352 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.914e-05/0.6949, allocations: 156.3 kB / 1.352 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.514e-05/0.6949, allocations: 82.14 kB / 1.353 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.6949, allocations: 2.359 kB / 1.353 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.695, allocations: 21.64 kB / 1.353 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.6951, allocations: 7.234 kB / 1.353 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.6951, allocations: 1.438 kB / 1.353 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.031e-05/0.6951, allocations: 84.16 kB / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001934/0.6953, allocations: 10.03 kB / 1.353 GB, free: 13.41 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 8.273e-05/0.6954, allocations: 100.7 kB / 1.353 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.089e-05/0.6955, allocations: 20.84 kB / 1.353 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6955, allocations: 0 / 1.353 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.6955, allocations: 17.12 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.6957, allocations: 11.72 kB / 1.353 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.6959, allocations: 72.44 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.696, allocations: 0.6922 MB / 1.354 GB, free: 28.55 MB / 0.823 GB Notification: Performance of SimCode: time 1.9e-07/0.696, allocations: 0 / 1.354 GB, free: 28.55 MB / 0.823 GB Notification: Performance of Templates: time 0.001918/0.698, allocations: 0.6054 MB / 1.354 GB, free: 28.5 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches