Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [: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.777/1.777, 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.001067/0.001067, allocations: 181.2 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.133/1.133, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0008479/0.0008479, allocations: 97.69 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.612e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.179, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4988/0.6778, allocations: 148.2 MB / 1.35 GB, free: 16.15 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001625/0.678, allocations: 68.12 kB / 1.35 GB, free: 16.15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002236/0.6803, allocations: 0.6221 MB / 1.351 GB, free: 16.11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.6803, allocations: 1.25 kB / 1.351 GB, free: 16.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000278/0.6806, allocations: 345.7 kB / 1.351 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.6806, allocations: 10.73 kB / 1.351 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.6807, allocations: 5.188 kB / 1.351 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.6808, allocations: 175.4 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.6808, allocations: 1.25 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.6808, allocations: 2.531 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.483e-05/0.6809, allocations: 25.5 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.139e-05/0.681, allocations: 59.17 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.681, allocations: 0 / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.681, allocations: 4 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.681, allocations: 1.281 kB / 1.351 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.6813, allocations: 264.4 kB / 1.352 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.336e-05/0.6814, allocations: 48.56 kB / 1.352 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.6814, allocations: 15.08 kB / 1.352 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.6814, allocations: 7.875 kB / 1.352 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.6815, allocations: 35.84 kB / 1.352 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.6815, allocations: 0 / 1.352 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001533/0.6816, allocations: 59.53 kB / 1.352 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.599e-05/0.6817, allocations: 52.78 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.192e-05/0.6817, allocations: 99.89 kB / 1.352 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.6817, allocations: 27.08 kB / 1.352 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/0.6817, allocations: 90.5 kB / 1.352 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.6818, allocations: 9.281 kB / 1.352 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-06/0.6818, allocations: 0 / 1.352 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.414e-05/0.6818, allocations: 313.7 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/0.6818, allocations: 14.44 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.6819, allocations: 11.25 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.6819, allocations: 11.56 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6819, allocations: 1.375 kB / 1.352 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.692e-05/0.682, allocations: 60.39 kB / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.682, allocations: 9.5 kB / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.682, allocations: 4 kB / 1.352 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.682, allocations: 1.688 kB / 1.352 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.6822, allocations: 18.94 kB / 1.352 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.6822, allocations: 5.344 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.6822, allocations: 9.172 kB / 1.352 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.6823, allocations: 9.234 kB / 1.352 GB, free: 14.52 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: 2 (abs1.u,abs1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.768e-05/0.6823, allocations: 107.8 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.6823, allocations: 2.438 kB / 1.352 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.6824, allocations: 5.125 kB / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.6824, allocations: 0 / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6824, allocations: 7.281 kB / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6824, allocations: 1.547 kB / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.6825, allocations: 158.2 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.6825, allocations: 3.938 kB / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.735e-05/0.6826, allocations: 20.53 kB / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6826, allocations: 1.094 kB / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.6826, allocations: 1.469 kB / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6826, allocations: 0 / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6826, allocations: 0 / 1.353 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.938e-05/0.6828, allocations: 164.9 kB / 1.353 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.654e-05/0.6828, allocations: 84.2 kB / 1.353 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.6828, allocations: 0 / 1.353 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.6829, allocations: 8.016 kB / 1.353 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.683, allocations: 12.72 kB / 1.353 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.683, allocations: 3.875 kB / 1.353 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.072e-05/0.683, allocations: 80.12 kB / 1.353 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002023/0.6832, allocations: 15.59 kB / 1.353 GB, free: 13.91 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: 2 (abs1.u,abs1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.14e-05/0.6833, allocations: 101.5 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.724e-05/0.6834, allocations: 31.38 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.6834, allocations: 0 / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.535e-05/0.6835, allocations: 24.08 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.6836, allocations: 6.125 kB / 1.353 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000207/0.6838, allocations: 76.06 kB / 1.353 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.6841, allocations: 0.6984 MB / 1.354 GB, free: 29.05 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.6841, allocations: 1.375 kB / 1.354 GB, free: 29.05 MB / 0.823 GB Notification: Performance of Templates: time 0.002198/0.6863, allocations: 0.7953 MB / 1.355 GB, free: 28.99 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches