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.465/2.465, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001126/0.001126, allocations: 167.3 kB / 498.1 MB, free: 5.68 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.521/1.521, allocations: 223.2 MB / 0.7949 GB, free: 17.87 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.001055/0.001055, allocations: 108.1 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 10.66 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3088, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.4887, allocations: 149 MB / 1.368 GB, free: 13 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.489, allocations: 75.95 kB / 1.368 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003368/0.4924, allocations: 1.169 MB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4924, allocations: 0 / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4925, allocations: 4 kB / 1.37 GB, free: 11.75 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.0003399/0.4928, allocations: 355.9 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4928, allocations: 8.031 kB / 1.37 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.4929, allocations: 7.906 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.493, allocations: 167 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.493, allocations: 4 kB / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-06/0.493, allocations: 0 / 1.37 GB, free: 11.13 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.4933, allocations: 168.2 kB / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.4933, allocations: 0 / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4933, allocations: 0 / 1.37 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.4934, allocations: 19.98 kB / 1.37 GB, free: 10.92 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.4935, allocations: 43.84 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.4942, allocations: 0.8933 MB / 1.371 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.4943, allocations: 177.1 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.4943, allocations: 75.28 kB / 1.371 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.4944, allocations: 117.8 kB / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.4944, allocations: 0 / 1.372 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.898e-05/0.4945, allocations: 33.61 kB / 1.372 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/0.4947, allocations: 391.7 kB / 1.372 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.4948, allocations: 151.4 kB / 1.372 GB, free: 8.887 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.4949, allocations: 33.64 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.495, allocations: 151.3 kB / 1.372 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.495, allocations: 4 kB / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.495, allocations: 0 / 1.372 GB, free: 8.691 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4951, allocations: 326.8 kB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.4952, allocations: 24.36 kB / 1.373 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.4954, allocations: 220.6 kB / 1.373 GB, free: 8.031 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.814e-05/0.4955, allocations: 63.91 kB / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4955, allocations: 0 / 1.373 GB, free: 7.969 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003015/0.4958, allocations: 193.4 kB / 1.373 GB, free: 7.773 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.4958, allocations: 4 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4958, allocations: 8 kB / 1.373 GB, free: 7.762 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4958, allocations: 4 kB / 1.373 GB, free: 7.758 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.4959, allocations: 39.92 kB / 1.373 GB, free: 7.719 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.496, allocations: 11.94 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.4961, allocations: 27.78 kB / 1.373 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4961, allocations: 15.94 kB / 1.373 GB, free: 7.664 MB / 0.8698 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.0001394/0.4962, allocations: 217.3 kB / 1.373 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.4963, allocations: 113 kB / 1.374 GB, free: 7.324 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.957e-05/0.4964, allocations: 121.1 kB / 1.374 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.729e-05/0.4965, allocations: 176.3 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.698e-05/0.4966, allocations: 180.3 kB / 1.374 GB, free: 6.836 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.161e-05/0.4967, allocations: 192.2 kB / 1.374 GB, free: 6.641 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.4969, allocations: 417.2 kB / 1.375 GB, free: 6.176 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.176e-05/0.497, allocations: 108.9 kB / 1.375 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.497, allocations: 101 kB / 1.375 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.266e-05/0.4971, allocations: 180.2 kB / 1.375 GB, free: 5.773 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/0.4972, allocations: 180.2 kB / 1.375 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001032/0.4973, allocations: 188.3 kB / 1.375 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.998e-05/0.4974, allocations: 180.2 kB / 1.375 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.4976, allocations: 316.4 kB / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.652e-05/0.4977, allocations: 194 kB / 1.376 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.284e-05/0.4977, allocations: 180.3 kB / 1.376 GB, free: 4.484 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.4978, allocations: 108.9 kB / 1.376 GB, free: 4.371 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.4979, allocations: 180.2 kB / 1.376 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/0.498, allocations: 109.2 kB / 1.376 GB, free: 4.074 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.521e-05/0.4981, allocations: 117.8 kB / 1.377 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4981, allocations: 0 / 1.377 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003276/0.4984, allocations: 35.94 kB / 1.377 GB, free: 3.926 MB / 0.8698 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.0002429/0.4987, allocations: 190.3 kB / 1.377 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.4988, allocations: 73.03 kB / 1.377 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4988, allocations: 0 / 1.377 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-06/0.4989, allocations: 4 kB / 1.377 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.4993, allocations: 0.5381 MB / 1.377 GB, free: 3.109 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.4998, allocations: 238.5 kB / 1.378 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.5002, allocations: 0.701 MB / 1.378 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003116/0.5005, allocations: 56.59 kB / 1.378 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.5005, allocations: 11.44 kB / 1.378 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of SimCode: time 5.11e-07/0.5005, allocations: 0 / 1.378 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of Templates: time 0.004681/0.5052, allocations: 1.695 MB / 1.38 GB, free: 404 kB / 0.8698 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