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.181/2.181, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.00125/0.00125, allocations: 172.9 kB / 492.3 MB, free: 0.625 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.514/1.514, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008623/0.0008625, allocations: 87.89 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.115e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2976, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9013/1.199, allocations: 148.9 MB / 1.358 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/1.199, allocations: 78.86 kB / 1.358 GB, free: 19.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003749/1.203, allocations: 1.17 MB / 1.359 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.754e-06/1.203, allocations: 0 / 1.359 GB, free: 34.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.733e-06/1.203, allocations: 3.969 kB / 1.359 GB, free: 34.66 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.0002374/1.203, allocations: 341.7 kB / 1.359 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/1.203, allocations: 7.719 kB / 1.359 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/1.203, allocations: 6.656 kB / 1.359 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.92e-05/1.204, allocations: 176.2 kB / 1.36 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/1.204, allocations: 3.75 kB / 1.36 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/1.204, allocations: 0 / 1.36 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/1.204, allocations: 163.3 kB / 1.36 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/1.204, allocations: 0 / 1.36 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/1.204, allocations: 3.875 kB / 1.36 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/1.204, allocations: 20.95 kB / 1.36 GB, free: 34.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.942e-05/1.204, allocations: 41.78 kB / 1.36 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/1.204, allocations: 0.8951 MB / 1.361 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.896e-05/1.205, allocations: 172.2 kB / 1.361 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/1.205, allocations: 80.14 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/1.205, allocations: 79.28 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/1.205, allocations: 114.6 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/1.205, allocations: 0 / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.038e-05/1.205, allocations: 37.52 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/1.205, allocations: 388.9 kB / 1.361 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/1.205, allocations: 155.1 kB / 1.362 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/1.205, allocations: 29.7 kB / 1.362 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/1.205, allocations: 154.2 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/1.205, allocations: 0 / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/1.205, allocations: 3.938 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.323e-05/1.205, allocations: 325.4 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/1.205, allocations: 21.42 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/1.205, allocations: 219.7 kB / 1.362 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/1.205, allocations: 63.27 kB / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.205, allocations: 0 / 1.362 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002486/1.206, allocations: 190 kB / 1.363 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.206, allocations: 7.875 kB / 1.363 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.206, allocations: 4.359 kB / 1.363 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.206, allocations: 7.625 kB / 1.363 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/1.206, allocations: 43 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/1.206, allocations: 5.016 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.63e-05/1.206, allocations: 24.39 kB / 1.363 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/1.206, allocations: 19.44 kB / 1.363 GB, free: 31.29 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 8.863e-05/1.206, allocations: 204 kB / 1.363 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/1.206, allocations: 113.3 kB / 1.363 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.892e-05/1.206, allocations: 117.2 kB / 1.363 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/1.206, allocations: 181.5 kB / 1.363 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.214e-05/1.206, allocations: 181 kB / 1.363 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-05/1.206, allocations: 192.4 kB / 1.364 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/1.206, allocations: 424.3 kB / 1.364 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/1.206, allocations: 103.9 kB / 1.364 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/1.206, allocations: 101.7 kB / 1.364 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.386e-05/1.206, allocations: 185.1 kB / 1.364 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/1.207, allocations: 185.5 kB / 1.365 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.632e-05/1.207, allocations: 184.7 kB / 1.365 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-05/1.207, allocations: 177.4 kB / 1.365 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/1.207, allocations: 315.7 kB / 1.365 GB, free: 28.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/1.207, allocations: 186.8 kB / 1.365 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/1.207, allocations: 189.5 kB / 1.366 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/1.207, allocations: 109.3 kB / 1.366 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.408e-05/1.207, allocations: 180.9 kB / 1.366 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/1.207, allocations: 105.8 kB / 1.366 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.977e-05/1.207, allocations: 118.8 kB / 1.366 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.207, allocations: 0 / 1.366 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000317/1.208, allocations: 30.62 kB / 1.366 GB, free: 27.73 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.0002024/1.208, allocations: 188.1 kB / 1.366 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001271/1.208, allocations: 75.52 kB / 1.366 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.208, allocations: 0 / 1.366 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/1.208, allocations: 3.938 kB / 1.366 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/1.208, allocations: 0.5349 MB / 1.367 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/1.208, allocations: 177.6 kB / 1.367 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/1.209, allocations: 0.6964 MB / 1.368 GB, free: 26.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001531/1.209, allocations: 53.31 kB / 1.368 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.515e-05/1.209, allocations: 15.16 kB / 1.368 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.209, allocations: 0 / 1.368 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of Templates: time 0.003767/1.213, allocations: 1.712 MB / 1.369 GB, free: 25.99 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