Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.796/1.796, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.000965/0.0009649, allocations: 185.2 kB / 487 MB, free: 5.383 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.122/1.122, allocations: 221.3 MB / 0.7819 GB, free: 1.371 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.0008521/0.000852, allocations: 89.64 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.172e-06/6.182e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1906, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4985/0.6892, allocations: 148.3 MB / 1.35 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001696/0.6894, allocations: 68.2 kB / 1.35 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003915/0.6933, allocations: 1.13 MB / 1.351 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.6933, allocations: 5.375 kB / 1.351 GB, free: 15.79 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004459/0.6938, allocations: 382 kB / 1.352 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.6938, allocations: 12.72 kB / 1.352 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.6939, allocations: 9.516 kB / 1.352 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.694, allocations: 181.4 kB / 1.352 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.694, allocations: 2.562 kB / 1.352 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.694, allocations: 7.766 kB / 1.352 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001206/0.6941, allocations: 42.94 kB / 1.352 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.6943, allocations: 73.52 kB / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6943, allocations: 0 / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.6943, allocations: 0 / 1.352 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.6943, allocations: 6.188 kB / 1.352 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.6947, allocations: 317.2 kB / 1.352 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.6952, allocations: 88.39 kB / 1.352 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.6952, allocations: 37.95 kB / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.6952, allocations: 1.406 kB / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.244e-05/0.6953, allocations: 33.5 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.6953, allocations: 0 / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0002073/0.6955, allocations: 82.44 kB / 1.352 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.609e-05/0.6955, allocations: 57.47 kB / 1.353 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.497e-05/0.6956, allocations: 112.7 kB / 1.353 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.6956, allocations: 27.02 kB / 1.353 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.6956, allocations: 91.39 kB / 1.353 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.6956, allocations: 20.8 kB / 1.353 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.6957, allocations: 0 / 1.353 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.6957, allocations: 318.7 kB / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.6957, allocations: 18.44 kB / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.6958, allocations: 31.5 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.25e-05/0.6958, allocations: 23.84 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.6958, allocations: 1.594 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001346/0.696, allocations: 80.45 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.696, allocations: 5.594 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.696, allocations: 0 / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.696, allocations: 1.031 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.6962, allocations: 38.59 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.6962, allocations: 0.625 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.6964, allocations: 22.16 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.6964, allocations: 6.5 kB / 1.353 GB, free: 14.15 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.915e-05/0.6964, allocations: 104 kB / 1.353 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.6965, allocations: 8.031 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.405e-05/0.6965, allocations: 8.812 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6965, allocations: 2.641 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6965, allocations: 3.938 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6965, allocations: 0 / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.6967, allocations: 181.9 kB / 1.354 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6967, allocations: 1.375 kB / 1.354 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.6969, allocations: 34.86 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6969, allocations: 1.281 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.6969, allocations: 0 / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6969, allocations: 2.625 kB / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6969, allocations: 0 / 1.354 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001463/0.697, allocations: 184.1 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.6971, allocations: 82.33 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.6971, allocations: 3.203 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.6973, allocations: 21.2 kB / 1.354 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.6973, allocations: 26.12 kB / 1.354 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.6973, allocations: 1.781 kB / 1.354 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.361e-05/0.6974, allocations: 90.28 kB / 1.354 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002225/0.6976, allocations: 18.2 kB / 1.354 GB, free: 13.55 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: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001022/0.6977, allocations: 106 kB / 1.354 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.6979, allocations: 55.31 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6979, allocations: 0 / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.951e-05/0.6979, allocations: 44.05 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.6981, allocations: 4.719 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003074/0.6984, allocations: 116.8 kB / 1.354 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.6987, allocations: 0.7143 MB / 1.355 GB, free: 28.66 MB / 0.823 GB Notification: Performance of SimCode: time 6.51e-07/0.6987, allocations: 0 / 1.355 GB, free: 28.66 MB / 0.823 GB Notification: Performance of Templates: time 0.003392/0.7021, allocations: 1.389 MB / 1.356 GB, free: 28.58 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches