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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.079/2.079, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.0009689/0.0009688, allocations: 188.8 kB / 487.4 MB, free: 5.043 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.347/1.347, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0009339/0.0009339, allocations: 97.64 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.612e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3132, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.884/1.197, allocations: 148.2 MB / 1.351 GB, free: 18.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.198, allocations: 77.14 kB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003579/1.201, allocations: 1.173 MB / 1.352 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.312e-06/1.201, allocations: 0 / 1.352 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.201, allocations: 1.344 kB / 1.352 GB, free: 33.9 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.0002746/1.201, allocations: 334.4 kB / 1.352 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.202, allocations: 10.25 kB / 1.352 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/1.202, allocations: 11.08 kB / 1.352 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.544e-05/1.202, allocations: 172.8 kB / 1.352 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/1.202, allocations: 6.062 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/1.202, allocations: 1.312 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/1.202, allocations: 32.95 kB / 1.353 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/1.202, allocations: 151.8 kB / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.202, allocations: 1.312 kB / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/1.202, allocations: 2.016 kB / 1.353 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.486e-05/1.202, allocations: 27 kB / 1.353 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006381/1.203, allocations: 0.8757 MB / 1.354 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/1.203, allocations: 170.3 kB / 1.354 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/1.203, allocations: 84.64 kB / 1.354 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/1.203, allocations: 76.59 kB / 1.354 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.203, allocations: 111.8 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.203, allocations: 1.312 kB / 1.354 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.878e-05/1.203, allocations: 35.59 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/1.203, allocations: 314.8 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/1.203, allocations: 151.9 kB / 1.354 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/1.203, allocations: 27.34 kB / 1.354 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/1.203, allocations: 144.5 kB / 1.355 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.26e-06/1.203, allocations: 5.141 kB / 1.355 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.203, allocations: 0 / 1.355 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.203, allocations: 320.6 kB / 1.355 GB, free: 31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/1.203, allocations: 26.19 kB / 1.355 GB, free: 31 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/1.204, allocations: 213.7 kB / 1.355 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.273e-05/1.204, allocations: 56.77 kB / 1.355 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/1.204, allocations: 7.859 kB / 1.355 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002261/1.204, allocations: 160.5 kB / 1.355 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/1.204, allocations: 8.625 kB / 1.355 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.204, allocations: 3.906 kB / 1.355 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.204, allocations: 8.469 kB / 1.355 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/1.204, allocations: 34.98 kB / 1.355 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/1.204, allocations: 17.09 kB / 1.355 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/1.204, allocations: 20.81 kB / 1.355 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/1.204, allocations: 7.844 kB / 1.355 GB, free: 30.65 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.0001245/1.204, allocations: 196.2 kB / 1.356 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/1.204, allocations: 113.5 kB / 1.356 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/1.204, allocations: 118.2 kB / 1.356 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.816e-05/1.205, allocations: 184.3 kB / 1.356 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.799e-05/1.205, allocations: 181.2 kB / 1.356 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.063e-05/1.205, allocations: 185.4 kB / 1.356 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/1.205, allocations: 398 kB / 1.357 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-05/1.205, allocations: 103.4 kB / 1.357 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/1.205, allocations: 105.7 kB / 1.357 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.889e-05/1.205, allocations: 184.9 kB / 1.357 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/1.205, allocations: 180.8 kB / 1.357 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.462e-05/1.205, allocations: 185.4 kB / 1.357 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.466e-05/1.205, allocations: 176.9 kB / 1.358 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/1.205, allocations: 317.5 kB / 1.358 GB, free: 28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/1.205, allocations: 187.3 kB / 1.358 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.143e-05/1.206, allocations: 184.8 kB / 1.358 GB, free: 27.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/1.206, allocations: 105.4 kB / 1.358 GB, free: 27.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/1.206, allocations: 177.5 kB / 1.359 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/1.206, allocations: 105.5 kB / 1.359 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.462e-05/1.206, allocations: 118.6 kB / 1.359 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.206, allocations: 0 / 1.359 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002734/1.206, allocations: 27.72 kB / 1.359 GB, free: 27.13 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.0001853/1.206, allocations: 178.9 kB / 1.359 GB, free: 26.97 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001148/1.206, allocations: 64.28 kB / 1.359 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.206, allocations: 0.5 kB / 1.359 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/1.206, allocations: 7.938 kB / 1.359 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/1.207, allocations: 0.527 MB / 1.36 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/1.207, allocations: 180.8 kB / 1.36 GB, free: 26.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/1.207, allocations: 0.6998 MB / 1.36 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000157/1.207, allocations: 58.27 kB / 1.361 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/1.207, allocations: 11.28 kB / 1.361 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of SimCode: time 2.1e-07/1.207, allocations: 4 kB / 1.361 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of Templates: time 0.00405/1.211, allocations: 1.692 MB / 1.362 GB, free: 25.41 MB / 0.8386 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