Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 114.4 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001875/0.001876, allocations: 192.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.42/2.42, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 60.81 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2745, allocations: 151.6 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001698/0.2763, allocations: 0.6046 MB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002713/0.2766, allocations: 67.84 kB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.802e-05/0.2766, allocations: 0 / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.2766, allocations: 4 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.468e-05/0.2767, allocations: 11.92 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.2769, allocations: 47.94 kB / 1.02 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.075e-05/0.277, allocations: 23.92 kB / 1.02 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.2771, allocations: 4 kB / 1.02 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.298e-05/0.2771, allocations: 15.91 kB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.2773, allocations: 63.95 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2773, allocations: 0 / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.689e-05/0.2774, allocations: 39.95 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.2774, allocations: 19.92 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.2774, allocations: 23.86 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.2776, allocations: 67.8 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2776, allocations: 0 / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2776, allocations: 0 / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.2776, allocations: 0 / 1.02 GB, free: 8.879 MB / 0.795 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.0003278/0.2779, allocations: 363.4 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.278, allocations: 12.03 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.278, allocations: 12.84 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.2781, allocations: 164.3 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.2781, allocations: 384 / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.2781, allocations: 8.375 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.2784, allocations: 185.2 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.2784, allocations: 0 / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.2784, allocations: 4 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.2784, allocations: 19.98 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.2785, allocations: 43.84 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.2791, allocations: 0.9022 MB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.392e-05/0.2792, allocations: 181.1 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.2793, allocations: 84.12 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.2793, allocations: 75.28 kB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.2793, allocations: 109.8 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2793, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.312e-05/0.2794, allocations: 45.55 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.2796, allocations: 391.7 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.2797, allocations: 164.4 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2797, allocations: 25.7 kB / 1.022 GB, free: 5.828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.2798, allocations: 151 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/0.2798, allocations: 4 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.2799, allocations: 49.7 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.28, allocations: 330.8 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.782e-05/0.28, allocations: 23.98 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.2802, allocations: 222.5 kB / 1.023 GB, free: 4.949 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.2804, allocations: 193.8 kB / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2804, allocations: 4 kB / 1.023 GB, free: 4.691 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002715/0.2807, allocations: 193.2 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2807, allocations: 4 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2807, allocations: 11.94 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2807, allocations: 11.92 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.2808, allocations: 39.92 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2808, allocations: 4.594 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.893e-05/0.2809, allocations: 35.69 kB / 1.024 GB, free: 4.391 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.281, allocations: 12 kB / 1.024 GB, free: 4.379 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.2811, allocations: 209 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.2811, allocations: 116.8 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.2812, allocations: 120.9 kB / 1.024 GB, free: 3.918 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-05/0.2813, allocations: 180.2 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.632e-05/0.2813, allocations: 184.2 kB / 1.024 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.316e-05/0.2814, allocations: 176.3 kB / 1.025 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.2816, allocations: 426.7 kB / 1.025 GB, free: 2.895 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.718e-05/0.2816, allocations: 101 kB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.2817, allocations: 105 kB / 1.025 GB, free: 2.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.735e-05/0.2817, allocations: 184.2 kB / 1.025 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.2818, allocations: 180.4 kB / 1.026 GB, free: 2.309 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.563e-05/0.2819, allocations: 192.1 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.747e-05/0.2819, allocations: 188.2 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.2821, allocations: 307.7 kB / 1.026 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.98e-05/0.2821, allocations: 190 kB / 1.026 GB, free: 1.387 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.409e-05/0.2822, allocations: 188.2 kB / 1.027 GB, free: 1.195 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.2823, allocations: 108.9 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.2824, allocations: 184.5 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.2824, allocations: 105 kB / 1.027 GB, free: 0.7852 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.477e-05/0.2825, allocations: 116.8 kB / 1.027 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2825, allocations: 4 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002992/0.2828, allocations: 24 kB / 1.027 GB, free: 0.6445 MB / 0.795 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/0.283, allocations: 186.5 kB / 1.027 GB, free: 460 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.2831, allocations: 77 kB / 1.027 GB, free: 384 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.2831, allocations: 4.125 kB / 1.027 GB, free: 380 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.2831, allocations: 3.938 kB / 1.027 GB, free: 376 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2835, allocations: 467.6 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.2837, allocations: 228.8 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.284, allocations: 0.6929 MB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.2841, allocations: 52.58 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.2842, allocations: 15.44 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of SimCode: time 2.91e-07/0.2842, allocations: 4 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of Templates: time 0.003776/0.288, allocations: 1.655 MB / 1.03 GB, free: 13.25 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches