Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.901/1.901, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001018/0.001018, allocations: 177.3 kB / 487 MB, free: 5.34 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.336/1.336, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0009658/0.000966, allocations: 97.92 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.518e-06/9.528e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2421, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6973/0.9394, allocations: 148.2 MB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.9397, allocations: 76.23 kB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002944/0.9427, allocations: 0.8647 MB / 1.351 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.9427, allocations: 2.5 kB / 1.351 GB, free: 15.88 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002034/0.9429, allocations: 343.2 kB / 1.351 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.943, allocations: 9 kB / 1.351 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.943, allocations: 7.781 kB / 1.351 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.036e-05/0.9431, allocations: 166.9 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.9431, allocations: 1.281 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-06/0.9431, allocations: 1.219 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.693e-05/0.9432, allocations: 33.7 kB / 1.351 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.9434, allocations: 160.9 kB / 1.352 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.9434, allocations: 1.219 kB / 1.352 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.9434, allocations: 1.594 kB / 1.352 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/0.9435, allocations: 32.25 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.9439, allocations: 0.8636 MB / 1.352 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.103e-05/0.944, allocations: 177.3 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.693e-05/0.944, allocations: 83.77 kB / 1.353 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.944, allocations: 80.45 kB / 1.353 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.9441, allocations: 108.8 kB / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.9441, allocations: 1.531 kB / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.897e-05/0.9441, allocations: 34.11 kB / 1.353 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.9442, allocations: 320.5 kB / 1.353 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.9443, allocations: 154.1 kB / 1.353 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.9443, allocations: 26.67 kB / 1.353 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.9444, allocations: 146.4 kB / 1.353 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-06/0.9444, allocations: 5.688 kB / 1.354 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.9444, allocations: 3.938 kB / 1.354 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.012e-05/0.9445, allocations: 318.8 kB / 1.354 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.9445, allocations: 22.08 kB / 1.354 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.9446, allocations: 214.7 kB / 1.354 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.935e-05/0.9447, allocations: 61.38 kB / 1.354 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9447, allocations: 1.375 kB / 1.354 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002627/0.945, allocations: 160.2 kB / 1.354 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.945, allocations: 7.047 kB / 1.354 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.945, allocations: 4.344 kB / 1.354 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.945, allocations: 7.5 kB / 1.354 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.9452, allocations: 42.48 kB / 1.354 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.9452, allocations: 6.656 kB / 1.354 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.602e-05/0.9453, allocations: 21.91 kB / 1.354 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.9453, allocations: 15.91 kB / 1.354 GB, free: 12.63 MB / 0.8073 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 6.833e-05/0.9454, allocations: 193.5 kB / 1.355 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.9454, allocations: 118.3 kB / 1.355 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.9455, allocations: 118.3 kB / 1.355 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.9455, allocations: 177.6 kB / 1.355 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.812e-05/0.9455, allocations: 183.1 kB / 1.355 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.9455, allocations: 185.5 kB / 1.355 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.9457, allocations: 400.9 kB / 1.356 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/0.9457, allocations: 107.9 kB / 1.356 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.9457, allocations: 102.3 kB / 1.356 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-05/0.9458, allocations: 177.6 kB / 1.356 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.9458, allocations: 187.1 kB / 1.356 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.326e-05/0.9458, allocations: 183.7 kB / 1.356 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.663e-05/0.9459, allocations: 179.1 kB / 1.357 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.353e-05/0.9459, allocations: 313 kB / 1.357 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.946, allocations: 189.4 kB / 1.357 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.946, allocations: 187 kB / 1.357 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.837e-05/0.9461, allocations: 105.2 kB / 1.357 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.9461, allocations: 180.3 kB / 1.357 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.9462, allocations: 107.9 kB / 1.358 GB, free: 25.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.99e-05/0.9463, allocations: 112 kB / 1.358 GB, free: 25.12 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002959/0.9466, allocations: 27.84 kB / 1.358 GB, free: 25.12 MB / 0.823 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.0002095/0.9468, allocations: 186.2 kB / 1.358 GB, free: 24.96 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.9469, allocations: 67.44 kB / 1.358 GB, free: 24.95 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9469, allocations: 0 / 1.358 GB, free: 24.95 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.9469, allocations: 2.5 kB / 1.358 GB, free: 24.95 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.9473, allocations: 0.5309 MB / 1.358 GB, free: 24.42 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/0.9476, allocations: 176.9 kB / 1.359 GB, free: 24.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.9479, allocations: 0.7115 MB / 1.359 GB, free: 23.57 MB / 0.823 GB Notification: Performance of SimCode: time 2.8e-07/0.9479, allocations: 0.8125 kB / 1.359 GB, free: 23.57 MB / 0.823 GB Notification: Performance of Templates: time 0.00467/0.9526, allocations: 1.743 MB / 1.361 GB, free: 23.41 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches