Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001005/0.001005, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001069/0.001069, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9135/0.9135, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.766/1.766, allocations: 377.8 MB / 0.6228 GB, free: 8.695 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.9822 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.405e-05, allocations: 2.281 kB / 0.9823 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001786/0.00182, allocations: 0.6135 MB / 0.9829 GB, free: 1.402 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0004043/0.002224, allocations: 67.8 kB / 0.9829 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.002254, allocations: 4 kB / 0.9829 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.065e-05/0.002294, allocations: 0 / 0.9829 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.002364, allocations: 11.92 kB / 0.9829 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.002774, allocations: 47.94 kB / 0.983 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.803e-05/0.002863, allocations: 23.91 kB / 0.983 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.002924, allocations: 4 kB / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.386e-05/0.002978, allocations: 19.97 kB / 0.983 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.003238, allocations: 75.86 kB / 0.9831 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.003259, allocations: 4 kB / 0.9831 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.003388, allocations: 43.94 kB / 0.9831 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.003436, allocations: 12 kB / 0.9832 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.003465, allocations: 11.92 kB / 0.9832 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.003663, allocations: 79.78 kB / 0.9832 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.003667, allocations: 0 / 0.9832 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.713e-06/0.003668, allocations: 0 / 0.9832 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.003674, allocations: 0 / 0.9832 GB, free: 1.004 MB / 0.9323 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.0004322/0.004106, allocations: 286.2 kB / 0.9835 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.004163, allocations: 12.03 kB / 0.9835 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.004223, allocations: 8.891 kB / 0.9835 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.079e-05/0.004314, allocations: 117.7 kB / 0.9836 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.004333, allocations: 4.375 kB / 0.9836 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.004346, allocations: 384 / 0.9836 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.004752, allocations: 434.6 kB / 0.9841 GB, free: 20 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.004763, allocations: 192 / 0.9841 GB, free: 20 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.004782, allocations: 8.125 kB / 0.9841 GB, free: 12 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/0.004851, allocations: 27.97 kB / 0.9841 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.095e-05/0.004932, allocations: 39.84 kB / 0.9841 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.005637, allocations: 0.8513 MB / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.498e-05/0.005722, allocations: 169.1 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.005754, allocations: 84.14 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.005785, allocations: 79.28 kB / 0.9853 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.005837, allocations: 109.8 kB / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.005838, allocations: 0 / 0.9854 GB, free: 14.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 9.453e-05/0.005932, allocations: 45.59 kB / 0.9854 GB, free: 14.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.006087, allocations: 387.7 kB / 0.9858 GB, free: 14.08 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.006248, allocations: 170.2 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.006262, allocations: 25.7 kB / 0.986 GB, free: 13.88 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.006348, allocations: 155.5 kB / 0.9861 GB, free: 13.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.86e-06/0.006353, allocations: 0 / 0.9861 GB, free: 13.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.006424, allocations: 57.66 kB / 0.9862 GB, free: 13.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.006523, allocations: 326.8 kB / 0.9865 GB, free: 13.33 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.842e-05/0.006571, allocations: 27.92 kB / 0.9865 GB, free: 13.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.006826, allocations: 478.4 kB / 0.987 GB, free: 12.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.007012, allocations: 201.8 kB / 0.9872 GB, free: 12.42 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.007017, allocations: 8 kB / 0.9872 GB, free: 12.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003128/0.00733, allocations: 185.8 kB / 0.9874 GB, free: 12.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.007353, allocations: 8 kB / 0.9874 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.007362, allocations: 4 kB / 0.9874 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.007387, allocations: 11.98 kB / 0.9874 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.007523, allocations: 47.86 kB / 0.9874 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.007533, allocations: 4 kB / 0.9874 GB, free: 12.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.007619, allocations: 23.83 kB / 0.9875 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.007633, allocations: 15.94 kB / 0.9875 GB, free: 12.11 MB / 0.948 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.0001189/0.007752, allocations: 213 kB / 0.9877 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.007821, allocations: 116.9 kB / 0.9878 GB, free: 11.77 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.007868, allocations: 120.8 kB / 0.9879 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.945e-05/0.007917, allocations: 176.3 kB / 0.9881 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.645e-05/0.007973, allocations: 184.2 kB / 0.9882 GB, free: 11.28 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.978e-05/0.008023, allocations: 180.3 kB / 0.9884 GB, free: 11.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.008223, allocations: 376.7 kB / 0.9888 GB, free: 10.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-05/0.008257, allocations: 105 kB / 0.9889 GB, free: 10.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.008393, allocations: 101 kB / 0.989 GB, free: 10.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-05/0.008444, allocations: 188.2 kB / 0.9892 GB, free: 10.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.008495, allocations: 176.4 kB / 0.9893 GB, free: 10.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.555e-05/0.008541, allocations: 180.2 kB / 0.9895 GB, free: 9.922 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.085e-05/0.008592, allocations: 188.3 kB / 0.9897 GB, free: 9.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.008717, allocations: 323.7 kB / 0.99 GB, free: 9.391 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.008761, allocations: 108.9 kB / 0.9901 GB, free: 9.277 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.008826, allocations: 188.3 kB / 0.9903 GB, free: 9.086 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.008903, allocations: 108.9 kB / 0.9904 GB, free: 8.973 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.008959, allocations: 188.2 kB / 0.9905 GB, free: 8.781 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.008988, allocations: 101 kB / 0.9906 GB, free: 8.676 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.167e-05/0.00907, allocations: 119.2 kB / 0.9908 GB, free: 8.559 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.00907, allocations: 0 / 0.9908 GB, free: 8.559 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003412/0.009411, allocations: 24 kB / 0.9908 GB, free: 8.535 MB / 0.948 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.0002321/0.009643, allocations: 195 kB / 0.991 GB, free: 8.332 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001675/0.009811, allocations: 71.78 kB / 0.991 GB, free: 8.262 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.009814, allocations: 0 / 0.991 GB, free: 8.262 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.009817, allocations: 3.938 kB / 0.991 GB, free: 8.258 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.01018, allocations: 467.5 kB / 0.9915 GB, free: 7.801 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.01054, allocations: 258.2 kB / 0.9917 GB, free: 7.516 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.692e-05/0.01062, allocations: 75.98 kB / 0.9918 GB, free: 7.422 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.01065, allocations: 20.5 kB / 0.9918 GB, free: 7.402 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/0.01065, allocations: 0 / 0.9918 GB, free: 7.402 MB / 0.948 GB Notification: Performance of Templates: time 0.003598/0.01425, allocations: 1.74 MB / 0.9935 GB, free: 5.676 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.817248255945742]