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.327/2.327, allocations: 393.5 MB / 408.4 MB, free: 10.93 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.001278/0.001278, allocations: 186 kB / 0.4902 GB, free: 2.23 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.61/1.61, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.0011/0.0011, allocations: 102.1 kB / 0.9396 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 10.72 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.4887, allocations: 149.8 MB / 1.375 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002193/0.489, allocations: 75.95 kB / 1.376 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003197/0.4922, allocations: 1.176 MB / 1.377 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.685e-06/0.4922, allocations: 0 / 1.377 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4922, allocations: 0 / 1.377 GB, free: 2.398 MB / 0.8698 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.0003795/0.4926, allocations: 343.4 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.4927, allocations: 12.55 kB / 1.377 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.4927, allocations: 7.906 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.4929, allocations: 174.9 kB / 1.377 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.4929, allocations: 0 / 1.377 GB, free: 1.785 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.4929, allocations: 4 kB / 1.377 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.4932, allocations: 165.5 kB / 1.377 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4933, allocations: 0 / 1.377 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.4933, allocations: 4 kB / 1.377 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.454e-05/0.4933, allocations: 19.98 kB / 1.377 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.4934, allocations: 43.84 kB / 1.377 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008731/0.4943, allocations: 0.8914 MB / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.4944, allocations: 173.1 kB / 1.378 GB, free: 396 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.4945, allocations: 79.28 kB / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.4945, allocations: 109.8 kB / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.663e-06/0.4946, allocations: 0 / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 9.586e-05/0.4947, allocations: 37.61 kB / 1.379 GB, free: 152 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002161/0.4949, allocations: 391.6 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.4951, allocations: 151.2 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.4951, allocations: 33.7 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4952, allocations: 147.3 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.633e-06/0.4952, allocations: 3.984 kB / 1.379 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.4952, allocations: 8 kB / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4954, allocations: 314.8 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.382e-05/0.4954, allocations: 29.91 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.4956, allocations: 223.3 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.4957, allocations: 59.91 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.4957, allocations: 4 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000303/0.496, allocations: 189.7 kB / 1.38 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4961, allocations: 16.03 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4961, allocations: 11.97 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4961, allocations: 8 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4962, allocations: 39.92 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4963, allocations: 7.938 kB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/0.4964, allocations: 23.84 kB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4964, allocations: 8 kB / 1.38 GB, free: 14.32 MB / 0.8855 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.0001334/0.4965, allocations: 221.7 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.4966, allocations: 112.9 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.4967, allocations: 128.6 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.119e-05/0.4967, allocations: 176.3 kB / 1.381 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.199e-05/0.4968, allocations: 180.2 kB / 1.381 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.091e-05/0.4969, allocations: 176.3 kB / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.4971, allocations: 429.2 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.583e-05/0.4972, allocations: 104.9 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.4972, allocations: 105 kB / 1.382 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.199e-05/0.4973, allocations: 184.2 kB / 1.382 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/0.4974, allocations: 176.3 kB / 1.382 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.611e-05/0.4975, allocations: 180.3 kB / 1.382 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.983e-05/0.4976, allocations: 188.2 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.4978, allocations: 319.9 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.4979, allocations: 186 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/0.498, allocations: 184.2 kB / 1.383 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4981, allocations: 112.9 kB / 1.383 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.4982, allocations: 180.3 kB / 1.383 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.4982, allocations: 104.9 kB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.276e-05/0.4983, allocations: 113.3 kB / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4983, allocations: 0 / 1.384 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000363/0.4987, allocations: 39.98 kB / 1.384 GB, free: 10.57 MB / 0.8855 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.0002168/0.4989, allocations: 182.5 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001544/0.4991, allocations: 71.78 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.4991, allocations: 4 kB / 1.384 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.4991, allocations: 3.938 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.4994, allocations: 0.5315 MB / 1.385 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.4997, allocations: 246.4 kB / 1.385 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.5001, allocations: 0.6932 MB / 1.385 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.5002, allocations: 56.58 kB / 1.385 GB, free: 8.727 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.5003, allocations: 15.44 kB / 1.385 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of SimCode: time 5.01e-07/0.5003, allocations: 0 / 1.385 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of Templates: time 0.004616/0.5049, allocations: 1.693 MB / 1.387 GB, free: 7.047 MB / 0.8855 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