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.412/2.412, allocations: 390.5 MB / 398 MB, free: 10.95 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.001228/0.001228, allocations: 180.8 kB / 491.2 MB, free: 1.566 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.543/1.543, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009627/0.0009625, allocations: 93.56 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.153e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2935, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.333, allocations: 149.1 MB / 1.358 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/1.333, allocations: 73.44 kB / 1.358 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003439/1.336, allocations: 1.176 MB / 1.359 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/1.336, allocations: 4 kB / 1.359 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.336, allocations: 3.875 kB / 1.359 GB, free: 33.1 MB / 0.8386 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.0002639/1.337, allocations: 338 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.337, allocations: 7.688 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/1.337, allocations: 3.812 kB / 1.359 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.619e-05/1.337, allocations: 176.4 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/1.337, allocations: 0 / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/1.337, allocations: 0 / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001026/1.337, allocations: 33.94 kB / 1.36 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/1.337, allocations: 156.7 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.337, allocations: 0 / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/1.337, allocations: 0 / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/1.337, allocations: 22.88 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/1.338, allocations: 0.8747 MB / 1.361 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.888e-05/1.338, allocations: 169.9 kB / 1.361 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/1.338, allocations: 81.59 kB / 1.361 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/1.338, allocations: 75.28 kB / 1.361 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/1.338, allocations: 116.4 kB / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.338, allocations: 0 / 1.361 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.864e-05/1.338, allocations: 34.56 kB / 1.361 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.338, allocations: 312.2 kB / 1.361 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/1.339, allocations: 159.6 kB / 1.362 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/1.339, allocations: 25.7 kB / 1.362 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/1.339, allocations: 147.2 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/1.339, allocations: 2.578 kB / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-06/1.339, allocations: 0 / 1.362 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/1.339, allocations: 324 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/1.339, allocations: 18.27 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/1.339, allocations: 215.6 kB / 1.362 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.947e-05/1.339, allocations: 63.95 kB / 1.362 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/1.339, allocations: 96 / 1.362 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000245/1.339, allocations: 162.4 kB / 1.362 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/1.339, allocations: 7.656 kB / 1.362 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.339, allocations: 3.875 kB / 1.363 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/1.339, allocations: 9.266 kB / 1.363 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/1.339, allocations: 38.09 kB / 1.363 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/1.339, allocations: 9.406 kB / 1.363 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.811e-05/1.34, allocations: 19.38 kB / 1.363 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/1.34, allocations: 16.62 kB / 1.363 GB, free: 29.85 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.0001028/1.34, allocations: 196.2 kB / 1.363 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/1.34, allocations: 121.6 kB / 1.363 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/1.34, allocations: 118.1 kB / 1.363 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.397e-05/1.34, allocations: 176.3 kB / 1.363 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.507e-05/1.34, allocations: 178.2 kB / 1.363 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.694e-05/1.34, allocations: 188.2 kB / 1.364 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/1.34, allocations: 399 kB / 1.364 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/1.34, allocations: 101 kB / 1.364 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/1.34, allocations: 114.4 kB / 1.364 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.486e-05/1.34, allocations: 176.3 kB / 1.364 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/1.34, allocations: 180 kB / 1.364 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.311e-05/1.34, allocations: 186 kB / 1.365 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.468e-05/1.34, allocations: 176.3 kB / 1.365 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/1.341, allocations: 313.5 kB / 1.365 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/1.341, allocations: 186.8 kB / 1.365 GB, free: 27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.999e-05/1.341, allocations: 189.7 kB / 1.365 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/1.341, allocations: 104.9 kB / 1.366 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/1.341, allocations: 181.4 kB / 1.366 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/1.341, allocations: 101.9 kB / 1.366 GB, free: 26.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.608e-05/1.341, allocations: 113 kB / 1.366 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.341, allocations: 0 / 1.366 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002949/1.341, allocations: 23.25 kB / 1.366 GB, free: 26.34 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.0002661/1.342, allocations: 194.5 kB / 1.366 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001716/1.342, allocations: 59.31 kB / 1.366 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.342, allocations: 0 / 1.366 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/1.342, allocations: 3.625 kB / 1.366 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/1.342, allocations: 0.535 MB / 1.367 GB, free: 25.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/1.343, allocations: 184.5 kB / 1.367 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/1.343, allocations: 0.7044 MB / 1.368 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001805/1.343, allocations: 54.78 kB / 1.368 GB, free: 24.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/1.343, allocations: 15.16 kB / 1.368 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.343, allocations: 0 / 1.368 GB, free: 24.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.005147/1.348, allocations: 1.692 MB / 1.369 GB, free: 24.6 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