Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.902/1.902, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001126/0.001126, allocations: 188 kB / 490.8 MB, free: 1.934 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.412/1.412, allocations: 221.4 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 90.92 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.261e-05/1.339e-05, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.267, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.746/1.013, allocations: 149 MB / 1.357 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.013, allocations: 72.11 kB / 1.357 GB, free: 17.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.003133/1.017, allocations: 0.8677 MB / 1.358 GB, free: 17.47 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.843e-06/1.017, allocations: 2.406 kB / 1.358 GB, free: 17.47 MB / 0.823 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.0002689/1.017, allocations: 338.2 kB / 1.358 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/1.017, allocations: 8.906 kB / 1.358 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/1.017, allocations: 9.031 kB / 1.358 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/1.017, allocations: 165 kB / 1.358 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/1.017, allocations: 1.906 kB / 1.358 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/1.017, allocations: 4.938 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001035/1.017, allocations: 35.62 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/1.017, allocations: 155.6 kB / 1.359 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/1.017, allocations: 5.156 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/1.017, allocations: 1.031 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/1.017, allocations: 23.03 kB / 1.359 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/1.018, allocations: 0.877 MB / 1.36 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/1.018, allocations: 174.9 kB / 1.36 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/1.018, allocations: 80.14 kB / 1.36 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/1.018, allocations: 77.25 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.176e-05/1.018, allocations: 108.6 kB / 1.36 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/1.018, allocations: 0 / 1.36 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.013e-05/1.018, allocations: 43.67 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/1.018, allocations: 319.3 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/1.019, allocations: 146.4 kB / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/1.019, allocations: 27.23 kB / 1.36 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/1.019, allocations: 147.4 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/1.019, allocations: 8.406 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/1.019, allocations: 0 / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.019, allocations: 319.6 kB / 1.361 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/1.019, allocations: 22.88 kB / 1.361 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/1.019, allocations: 212.9 kB / 1.361 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/1.019, allocations: 60.7 kB / 1.361 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.019, allocations: 2.25 kB / 1.361 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002541/1.019, allocations: 163.7 kB / 1.361 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/1.019, allocations: 9.328 kB / 1.361 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.019, allocations: 4.812 kB / 1.361 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/1.019, allocations: 8.5 kB / 1.361 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/1.02, allocations: 38.02 kB / 1.361 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.02, allocations: 12.05 kB / 1.361 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/1.02, allocations: 21.31 kB / 1.361 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/1.02, allocations: 9.938 kB / 1.361 GB, free: 30.22 MB / 0.8386 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 9.384e-05/1.02, allocations: 199.1 kB / 1.362 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/1.02, allocations: 111.3 kB / 1.362 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/1.02, allocations: 114.4 kB / 1.362 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.379e-05/1.02, allocations: 193.6 kB / 1.362 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.487e-05/1.02, allocations: 178.4 kB / 1.362 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.434e-05/1.02, allocations: 180.9 kB / 1.362 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/1.02, allocations: 404.4 kB / 1.363 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/1.02, allocations: 102.8 kB / 1.363 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/1.02, allocations: 104.5 kB / 1.363 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.034e-05/1.02, allocations: 180.9 kB / 1.363 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/1.02, allocations: 178.2 kB / 1.363 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.072e-05/1.021, allocations: 182.3 kB / 1.364 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.286e-05/1.021, allocations: 184.3 kB / 1.364 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001131/1.021, allocations: 312.3 kB / 1.364 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/1.021, allocations: 193.6 kB / 1.364 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/1.021, allocations: 186.9 kB / 1.364 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.525e-05/1.021, allocations: 104 kB / 1.364 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/1.021, allocations: 185.9 kB / 1.365 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/1.021, allocations: 102.8 kB / 1.365 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.794e-05/1.021, allocations: 111.8 kB / 1.365 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002895/1.021, allocations: 25.39 kB / 1.365 GB, free: 26.71 MB / 0.8386 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.0001896/1.022, allocations: 185.7 kB / 1.365 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001311/1.022, allocations: 67.25 kB / 1.365 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.022, allocations: 0 / 1.365 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/1.022, allocations: 4.875 kB / 1.365 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.022, allocations: 0.5294 MB / 1.366 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/1.022, allocations: 178 kB / 1.366 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/1.023, allocations: 0.7151 MB / 1.366 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.023, allocations: 0 / 1.366 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of Templates: time 0.00412/1.027, allocations: 1.758 MB / 1.368 GB, free: 24.98 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches