Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 77.47 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 159.2 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.393/1.393, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.599/2.599, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 67.89 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2791, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001669/0.2808, allocations: 0.6097 MB / 1.118 GB, free: 1.953 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003107/0.2811, allocations: 71.86 kB / 1.118 GB, free: 1.883 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.2811, allocations: 0 / 1.118 GB, free: 1.883 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.2811, allocations: 3.984 kB / 1.118 GB, free: 1.879 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.2812, allocations: 11.94 kB / 1.118 GB, free: 1.867 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.2814, allocations: 39.94 kB / 1.118 GB, free: 1.828 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.2815, allocations: 27.78 kB / 1.118 GB, free: 1.801 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.763e-05/0.2815, allocations: 4 kB / 1.118 GB, free: 1.797 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.531e-05/0.2816, allocations: 19.97 kB / 1.118 GB, free: 1.777 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.2818, allocations: 67.88 kB / 1.118 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2818, allocations: 0 / 1.118 GB, free: 1.711 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.2819, allocations: 43.94 kB / 1.118 GB, free: 1.668 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.2819, allocations: 27.92 kB / 1.118 GB, free: 1.641 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.282, allocations: 11.88 kB / 1.118 GB, free: 1.629 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.2821, allocations: 63.8 kB / 1.118 GB, free: 1.566 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2821, allocations: 0 / 1.118 GB, free: 1.566 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2821, allocations: 0 / 1.118 GB, free: 1.566 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2821, allocations: 0 / 1.118 GB, free: 1.566 MB / 1.061 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.0003421/0.2824, allocations: 298.1 kB / 1.119 GB, free: 1.242 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2825, allocations: 15.97 kB / 1.119 GB, free: 1.227 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.2825, allocations: 8.891 kB / 1.119 GB, free: 1.219 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.2826, allocations: 110.5 kB / 1.119 GB, free: 1.086 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.2826, allocations: 8.375 kB / 1.119 GB, free: 1.078 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.2826, allocations: 384 / 1.119 GB, free: 1.078 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.283, allocations: 442.7 kB / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.283, allocations: 4 kB / 1.119 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.283, allocations: 0 / 1.119 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.2831, allocations: 23.98 kB / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.118e-05/0.2832, allocations: 43.83 kB / 1.119 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000738/0.2839, allocations: 0.8474 MB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.761e-05/0.284, allocations: 173 kB / 1.12 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.284, allocations: 80.14 kB / 1.12 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.2841, allocations: 79.28 kB / 1.121 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.2841, allocations: 113.8 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.2841, allocations: 0 / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.181e-05/0.2842, allocations: 45.58 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002064/0.2844, allocations: 383.7 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.2846, allocations: 169.6 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.2846, allocations: 29.7 kB / 1.121 GB, free: 14.42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.2847, allocations: 151.5 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.2847, allocations: 4 kB / 1.121 GB, free: 14.27 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-05/0.2848, allocations: 53.66 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2849, allocations: 326.8 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.188e-05/0.285, allocations: 23.98 kB / 1.122 GB, free: 13.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.2853, allocations: 489.6 kB / 1.122 GB, free: 13.22 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.2855, allocations: 193.8 kB / 1.122 GB, free: 12.97 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2855, allocations: 4 kB / 1.122 GB, free: 12.96 MB / 1.076 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003142/0.2859, allocations: 193.8 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2859, allocations: 4 kB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.2859, allocations: 12 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2859, allocations: 4 kB / 1.123 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.286, allocations: 39.92 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.286, allocations: 11.88 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.2861, allocations: 35.72 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.2862, allocations: 12 kB / 1.123 GB, free: 12.65 MB / 1.076 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.0001371/0.2863, allocations: 209 kB / 1.123 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/0.2864, allocations: 116.9 kB / 1.123 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.2864, allocations: 112.8 kB / 1.123 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-05/0.2865, allocations: 180.3 kB / 1.123 GB, free: 12.01 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.753e-05/0.2866, allocations: 192.2 kB / 1.123 GB, free: 11.82 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.329e-05/0.2867, allocations: 180.2 kB / 1.124 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.287, allocations: 380.8 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-05/0.287, allocations: 101 kB / 1.124 GB, free: 11.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.287, allocations: 105 kB / 1.124 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.195e-05/0.2871, allocations: 180.2 kB / 1.124 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.489e-05/0.2872, allocations: 180.2 kB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.473e-05/0.2873, allocations: 184.2 kB / 1.125 GB, free: 10.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.567e-05/0.2874, allocations: 180.5 kB / 1.125 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.2876, allocations: 323.7 kB / 1.125 GB, free: 9.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.2876, allocations: 116.9 kB / 1.125 GB, free: 9.809 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.2877, allocations: 188.2 kB / 1.126 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.2879, allocations: 105 kB / 1.126 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.2879, allocations: 184.1 kB / 1.126 GB, free: 9.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.146e-05/0.288, allocations: 101 kB / 1.126 GB, free: 9.215 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.989e-05/0.2881, allocations: 120.7 kB / 1.126 GB, free: 9.098 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2881, allocations: 0 / 1.126 GB, free: 9.098 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003204/0.2884, allocations: 31.94 kB / 1.126 GB, free: 9.066 MB / 1.076 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.0001848/0.2886, allocations: 178.5 kB / 1.126 GB, free: 8.879 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001636/0.2887, allocations: 75.78 kB / 1.126 GB, free: 8.805 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2887, allocations: 0 / 1.126 GB, free: 8.805 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.07e-06/0.2888, allocations: 3.938 kB / 1.126 GB, free: 8.801 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.2892, allocations: 467.7 kB / 1.127 GB, free: 8.34 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003065/0.2895, allocations: 229.9 kB / 1.127 GB, free: 8.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.626e-05/0.2896, allocations: 71.98 kB / 1.127 GB, free: 8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001916/0.2897, allocations: 60.58 kB / 1.127 GB, free: 7.941 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.2898, allocations: 16.5 kB / 1.127 GB, free: 7.926 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.2898, allocations: 4 kB / 1.127 GB, free: 7.922 MB / 1.076 GB Notification: Performance of Templates: time 0.004629/0.2944, allocations: 1.802 MB / 1.129 GB, free: 6.191 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.914665595977567]