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.3/1.3, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 174.7 kB / 326.5 MB, free: 2.234 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.57/1.57, allocations: 205.4 MB / 0.5775 GB, free: 20.5 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.0007885/0.0007887, allocations: 95.97 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003127, allocations: 12.72 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2013, allocations: 106.3 MB / 0.9001 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.3706, allocations: 131.4 MB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.3709, allocations: 75.95 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004045/0.375, allocations: 1.18 MB / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.375, allocations: 0 / 1.03 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.375, allocations: 4 kB / 1.03 GB, free: 11.41 MB / 0.6823 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.0004015/0.3754, allocations: 347.2 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.3755, allocations: 8.031 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.3756, allocations: 7.906 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3757, allocations: 171 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3758, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3758, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.3761, allocations: 163.3 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3762, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.3762, allocations: 8 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/0.3763, allocations: 23.92 kB / 1.03 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.3764, allocations: 35.91 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.3774, allocations: 0.8944 MB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.3775, allocations: 173.1 kB / 1.031 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.3776, allocations: 83.28 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.795e-05/0.3776, allocations: 105.8 kB / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.3776, allocations: 0 / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001129/0.3778, allocations: 37.64 kB / 1.032 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/0.378, allocations: 387.7 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.3782, allocations: 154.6 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3782, allocations: 33.7 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3783, allocations: 147.3 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.3784, allocations: 7.938 kB / 1.032 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.3784, allocations: 4 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3785, allocations: 323.6 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.18e-05/0.3786, allocations: 24.36 kB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.3789, allocations: 222.5 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.379, allocations: 65.31 kB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.379, allocations: 8 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000432/0.3795, allocations: 193.7 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3795, allocations: 8 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3795, allocations: 4 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.3796, allocations: 8 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.3798, allocations: 35.92 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.3798, allocations: 8 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.38, allocations: 27.75 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.38, allocations: 8 kB / 1.033 GB, free: 7.336 MB / 0.6823 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 () * Number of clocked 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.0002025/0.3802, allocations: 221 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/0.3803, allocations: 120.8 kB / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.3804, allocations: 108.9 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.678e-05/0.3805, allocations: 192.2 kB / 1.034 GB, free: 6.676 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-05/0.3806, allocations: 180.3 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.249e-05/0.3807, allocations: 180.2 kB / 1.034 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.381, allocations: 429.1 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.292e-05/0.3811, allocations: 101 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.3811, allocations: 104.9 kB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.271e-05/0.3812, allocations: 184.2 kB / 1.035 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.3813, allocations: 177.1 kB / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.281e-05/0.3814, allocations: 180.2 kB / 1.035 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.44e-05/0.3815, allocations: 180.3 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002154/0.3817, allocations: 315.7 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.3819, allocations: 194 kB / 1.036 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.382, allocations: 184.5 kB / 1.036 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.3822, allocations: 105 kB / 1.036 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/0.3823, allocations: 188.2 kB / 1.036 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/0.3823, allocations: 109 kB / 1.037 GB, free: 3.734 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3825, allocations: 111.8 kB / 1.037 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3825, allocations: 0 / 1.037 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005263/0.383, allocations: 32 kB / 1.037 GB, free: 3.594 MB / 0.6823 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 () * Number of clocked 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.0002708/0.3833, allocations: 194.5 kB / 1.037 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.3835, allocations: 71.72 kB / 1.037 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3835, allocations: 0 / 1.037 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.3835, allocations: 9.25 kB / 1.037 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.3839, allocations: 0.5403 MB / 1.037 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.3843, allocations: 234.5 kB / 1.038 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3847, allocations: 0.6971 MB / 1.038 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002773/0.385, allocations: 52.59 kB / 1.038 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/0.385, allocations: 15.44 kB / 1.038 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/0.385, allocations: 0 / 1.038 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of Templates: time 0.005719/0.3907, allocations: 1.693 MB / 1.04 GB, free: 68 kB / 0.6823 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