Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [: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 7.0.3-maint.7.0.x/package.mo): time 1.21/1.21, allocations: 249.4 MB / 256.7 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009452/0.0009452, allocations: 181.2 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.068/1.068, allocations: 205.2 MB / 0.5667 GB, free: 15.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008144/0.0008142, allocations: 82.33 kB / 0.671 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.977e-06/8.997e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1596, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5892, allocations: 131.7 MB / 1.013 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.5894, allocations: 73.25 kB / 1.013 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002692/0.5921, allocations: 0.8612 MB / 1.014 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5921, allocations: 8 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002408/0.5924, allocations: 340.6 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.5924, allocations: 12.03 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.5925, allocations: 7.906 kB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.842e-05/0.5926, allocations: 170.9 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.5926, allocations: 0 / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.5926, allocations: 4 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.017e-05/0.5927, allocations: 32.11 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.5929, allocations: 162.7 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.5929, allocations: 0 / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.5929, allocations: 0 / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/0.5929, allocations: 26.48 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00056/0.5935, allocations: 0.8749 MB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.918e-05/0.5936, allocations: 169.1 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.598e-05/0.5936, allocations: 84.14 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.5936, allocations: 79.22 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.5937, allocations: 109.2 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.5937, allocations: 0 / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.827e-05/0.5938, allocations: 37.61 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.5939, allocations: 308.4 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.594, allocations: 160.5 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.594, allocations: 29.7 kB / 1.017 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.5941, allocations: 142.6 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-06/0.5941, allocations: 3.375 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.5941, allocations: 0 / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5942, allocations: 326 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.961e-05/0.5943, allocations: 23.73 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.5944, allocations: 215 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.5945, allocations: 62.66 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5945, allocations: 4.75 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002522/0.5948, allocations: 160.8 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.5948, allocations: 4 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.5948, allocations: 8 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.5948, allocations: 4 kB / 1.018 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.595, allocations: 43.86 kB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.595, allocations: 7.938 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.515e-05/0.5951, allocations: 23.75 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.5951, allocations: 11.84 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 0.0001154/0.5952, allocations: 200.2 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.5953, allocations: 112.9 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.382e-05/0.5954, allocations: 116.3 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.265e-05/0.5954, allocations: 180.3 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-05/0.5955, allocations: 180.6 kB / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.53e-05/0.5956, allocations: 180.2 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.5958, allocations: 412.4 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.57e-05/0.5959, allocations: 101 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.5959, allocations: 106.2 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.858e-05/0.596, allocations: 180.2 kB / 1.019 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/0.5961, allocations: 176.3 kB / 1.019 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.447e-05/0.5961, allocations: 188.2 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.422e-05/0.5962, allocations: 176.3 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001238/0.5963, allocations: 314.3 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.5964, allocations: 189.9 kB / 1.02 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.5965, allocations: 176.5 kB / 1.02 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.5966, allocations: 112.9 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.5966, allocations: 188.2 kB / 1.021 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.5967, allocations: 101 kB / 1.021 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.576e-05/0.5968, allocations: 107.3 kB / 1.021 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000282/0.597, allocations: 24 kB / 1.021 GB, free: 14.66 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.0002101/0.5973, allocations: 194.5 kB / 1.021 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.5974, allocations: 63.23 kB / 1.021 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5974, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.5974, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.5977, allocations: 0.5341 MB / 1.022 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.5979, allocations: 182 kB / 1.022 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.5982, allocations: 0.7159 MB / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.5982, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of Templates: time 0.003762/0.602, allocations: 1.757 MB / 1.024 GB, free: 11.21 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches