Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 195.2 kB / 316.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 89.08 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.385e-05/2.388e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2648, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8704/1.135, allocations: 131.6 MB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/1.136, allocations: 79.86 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003465/1.139, allocations: 1.17 MB / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/1.139, allocations: 0 / 1.015 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.17e-05/1.139, allocations: 4 kB / 1.015 GB, free: 4.957 MB / 0.6355 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.0003833/1.14, allocations: 343.5 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/1.14, allocations: 12.03 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/1.14, allocations: 7.906 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/1.14, allocations: 174.9 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/1.14, allocations: 3.984 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/1.14, allocations: 4 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001256/1.14, allocations: 30.98 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/1.14, allocations: 151.5 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/1.14, allocations: 4 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/1.14, allocations: 4 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-05/1.14, allocations: 23.92 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008133/1.141, allocations: 0.8679 MB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/1.141, allocations: 169.1 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.641e-05/1.141, allocations: 80.14 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/1.141, allocations: 77.72 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.752e-05/1.142, allocations: 117.8 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/1.142, allocations: 0 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001084/1.142, allocations: 36.55 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/1.142, allocations: 312.4 kB / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/1.142, allocations: 152.5 kB / 1.017 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/1.142, allocations: 25.7 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/1.142, allocations: 149.2 kB / 1.018 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/1.142, allocations: 7.25 kB / 1.018 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/1.142, allocations: 4 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.142, allocations: 322.4 kB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/1.142, allocations: 19.5 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/1.143, allocations: 207.3 kB / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.343e-05/1.143, allocations: 62.02 kB / 1.018 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.143, allocations: 7.953 kB / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002977/1.143, allocations: 156.3 kB / 1.018 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.143, allocations: 11.98 kB / 1.018 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.143, allocations: 4 kB / 1.018 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/1.143, allocations: 8.656 kB / 1.018 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/1.143, allocations: 40.02 kB / 1.018 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.143, allocations: 11.94 kB / 1.018 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-05/1.143, allocations: 19.75 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/1.143, allocations: 20.25 kB / 1.019 GB, free: 1.105 MB / 0.6355 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.0001297/1.143, allocations: 188.1 kB / 1.019 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/1.144, allocations: 120.8 kB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.904e-05/1.144, allocations: 116.9 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.349e-05/1.144, allocations: 180.3 kB / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.445e-05/1.144, allocations: 180.5 kB / 1.019 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.819e-05/1.144, allocations: 180.3 kB / 1.019 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/1.144, allocations: 400.8 kB / 1.02 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.771e-05/1.144, allocations: 104.9 kB / 1.02 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.308e-05/1.144, allocations: 104.6 kB / 1.02 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.902e-05/1.144, allocations: 188.2 kB / 1.02 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.476e-05/1.145, allocations: 180.2 kB / 1.02 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.204e-05/1.145, allocations: 180.2 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-05/1.145, allocations: 176.3 kB / 1.021 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/1.145, allocations: 316.2 kB / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/1.145, allocations: 190 kB / 1.021 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/1.145, allocations: 184.2 kB / 1.021 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/1.145, allocations: 105 kB / 1.021 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.168e-05/1.145, allocations: 179.8 kB / 1.022 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/1.145, allocations: 104.9 kB / 1.022 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.137e-05/1.146, allocations: 114.6 kB / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.4e-07/1.146, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003804/1.146, allocations: 24 kB / 1.022 GB, free: 13.48 MB / 0.6511 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.0003222/1.146, allocations: 182.5 kB / 1.022 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001849/1.146, allocations: 68.53 kB / 1.022 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.146, allocations: 4.188 kB / 1.022 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/1.146, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/1.147, allocations: 0.5331 MB / 1.023 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003358/1.147, allocations: 183.5 kB / 1.023 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/1.148, allocations: 0.689 MB / 1.023 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002039/1.148, allocations: 60.7 kB / 1.024 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/1.148, allocations: 15.44 kB / 1.024 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of SimCode: time 8.71e-07/1.148, allocations: 4 kB / 1.024 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.005315/1.153, allocations: 1.689 MB / 1.025 GB, free: 10.05 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches