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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.244/2.244, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.0009885/0.0009885, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.00089/0.0008899, allocations: 95.2 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.435e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2579, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9406/1.199, allocations: 149.7 MB / 1.365 GB, free: 4.293 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003209/1.199, allocations: 73.86 kB / 1.365 GB, free: 4.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003117/1.202, allocations: 1.183 MB / 1.366 GB, free: 3.148 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.984e-06/1.202, allocations: 4 kB / 1.366 GB, free: 3.145 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.202, allocations: 4 kB / 1.366 GB, free: 3.141 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.0003238/1.203, allocations: 334.3 kB / 1.367 GB, free: 2.773 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.203, allocations: 12.03 kB / 1.367 GB, free: 2.762 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/1.203, allocations: 4 kB / 1.367 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/1.203, allocations: 174.4 kB / 1.367 GB, free: 2.551 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.203, allocations: 0 / 1.367 GB, free: 2.551 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/1.203, allocations: 7.984 kB / 1.367 GB, free: 2.543 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/1.203, allocations: 158.2 kB / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/1.203, allocations: 0 / 1.367 GB, free: 2.379 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.726e-05/1.203, allocations: 7.984 kB / 1.367 GB, free: 2.371 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/1.203, allocations: 22.98 kB / 1.367 GB, free: 2.352 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.626e-05/1.203, allocations: 35.8 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006922/1.204, allocations: 0.8939 MB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/1.204, allocations: 173.1 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/1.204, allocations: 81.02 kB / 1.368 GB, free: 1.129 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/1.204, allocations: 83.14 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/1.204, allocations: 113.8 kB / 1.368 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/1.204, allocations: 0 / 1.368 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 7.753e-05/1.204, allocations: 33.61 kB / 1.368 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/1.204, allocations: 399.5 kB / 1.369 GB, free: 440 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.205, allocations: 149.2 kB / 1.369 GB, free: 300 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/1.205, allocations: 29.7 kB / 1.369 GB, free: 264 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/1.205, allocations: 152.5 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/1.205, allocations: 7.938 kB / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/1.205, allocations: 3.25 kB / 1.369 GB, free: 108 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.205, allocations: 322.6 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/1.205, allocations: 27.36 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/1.205, allocations: 218.9 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.176e-05/1.205, allocations: 59.72 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.205, allocations: 0 / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003113/1.206, allocations: 190 kB / 1.37 GB, free: 15.24 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.206, allocations: 8 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.206, allocations: 4 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.9e-05/1.206, allocations: 8.656 kB / 1.37 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/1.206, allocations: 35.92 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/1.206, allocations: 19.92 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/1.206, allocations: 19.16 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/1.206, allocations: 15.44 kB / 1.37 GB, free: 15.14 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 0.0001271/1.206, allocations: 200.3 kB / 1.37 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/1.206, allocations: 108.9 kB / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-05/1.206, allocations: 128 kB / 1.37 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.362e-05/1.206, allocations: 184.6 kB / 1.37 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.633e-05/1.206, allocations: 184.2 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-05/1.206, allocations: 176.3 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/1.207, allocations: 423.5 kB / 1.371 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.657e-05/1.207, allocations: 109.8 kB / 1.371 GB, free: 13.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/1.207, allocations: 101 kB / 1.371 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.641e-05/1.207, allocations: 188.2 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.282e-05/1.207, allocations: 177.2 kB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.24e-05/1.207, allocations: 176.3 kB / 1.372 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.185e-05/1.207, allocations: 183.8 kB / 1.372 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/1.207, allocations: 326.3 kB / 1.372 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/1.207, allocations: 185.9 kB / 1.373 GB, free: 12.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/1.208, allocations: 184.2 kB / 1.373 GB, free: 12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.479e-05/1.208, allocations: 109.2 kB / 1.373 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/1.208, allocations: 176.3 kB / 1.373 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/1.208, allocations: 109 kB / 1.373 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.755e-05/1.208, allocations: 125.4 kB / 1.373 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.208, allocations: 0 / 1.373 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003096/1.208, allocations: 31.19 kB / 1.373 GB, free: 11.46 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.0002197/1.208, allocations: 178.5 kB / 1.373 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000144/1.209, allocations: 74.92 kB / 1.374 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.209, allocations: 4 kB / 1.374 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/1.209, allocations: 0 / 1.374 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/1.209, allocations: 0.5447 MB / 1.374 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/1.209, allocations: 176.8 kB / 1.374 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/1.209, allocations: 0.701 MB / 1.375 GB, free: 9.742 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001626/1.21, allocations: 60.7 kB / 1.375 GB, free: 9.684 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/1.21, allocations: 11.44 kB / 1.375 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of SimCode: time 4.1e-07/1.21, allocations: 4 kB / 1.375 GB, free: 9.668 MB / 0.8386 GB Notification: Performance of Templates: time 0.004088/1.214, allocations: 1.697 MB / 1.377 GB, free: 8.016 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