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.00197/0.00197, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002591/0.002591, allocations: 161.3 kB / 23.54 MB, free: 0.8633 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 1.455/1.455, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.71/2.71, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.04e-05, allocations: 3.188 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001818/0.001848, allocations: 0.6214 MB / 0.787 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003151/0.002163, allocations: 59.86 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.002183, allocations: 0.6562 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.002222, allocations: 4.969 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.00227, allocations: 13.92 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.002597, allocations: 39.94 kB / 0.7871 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.439e-05/0.002671, allocations: 31.77 kB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.002703, allocations: 0 / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.068e-05/0.002753, allocations: 23.97 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.002971, allocations: 72.5 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.002987, allocations: 0.9062 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.003108, allocations: 47.88 kB / 0.7873 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.00315, allocations: 15.92 kB / 0.7873 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.003188, allocations: 21.05 kB / 0.7874 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.00336, allocations: 67.84 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003362, allocations: 0 / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003363, allocations: 5.406 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.003366, allocations: 0 / 0.7874 GB, free: 11.74 MB / 0.7448 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.0003897/0.003756, allocations: 278.2 kB / 0.7877 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.003797, allocations: 17.03 kB / 0.7877 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.003864, allocations: 16.88 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.003973, allocations: 109.7 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.003986, allocations: 1.938 kB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.004008, allocations: 12.36 kB / 0.7878 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.004478, allocations: 432.9 kB / 0.7883 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.004487, allocations: 192 / 0.7883 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.004513, allocations: 13.95 kB / 0.7883 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.00456, allocations: 19.92 kB / 0.7883 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.004674, allocations: 43.91 kB / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008973/0.005571, allocations: 0.8357 MB / 0.7891 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.005693, allocations: 169.1 kB / 0.7893 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.005742, allocations: 82.55 kB / 0.7894 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.617e-05/0.005788, allocations: 79.28 kB / 0.7895 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.943e-05/0.005868, allocations: 113.8 kB / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.005869, allocations: 0 / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001057/0.005974, allocations: 37.59 kB / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000264/0.006238, allocations: 395.7 kB / 0.79 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.006439, allocations: 176.1 kB / 0.7901 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.006466, allocations: 25.7 kB / 0.7902 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.006593, allocations: 157.2 kB / 0.7903 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/0.0066, allocations: 4 kB / 0.7903 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/0.006679, allocations: 49.66 kB / 0.7904 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.006854, allocations: 322.8 kB / 0.7907 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.006905, allocations: 28.64 kB / 0.7907 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.007439, allocations: 485.4 kB / 0.7912 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.0077, allocations: 209.2 kB / 0.7914 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.007704, allocations: 0 / 0.7914 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003743/0.008078, allocations: 197.6 kB / 0.7916 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.008094, allocations: 8 kB / 0.7916 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/0.008114, allocations: 9.734 kB / 0.7916 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.008137, allocations: 8 kB / 0.7916 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.008273, allocations: 39.92 kB / 0.7916 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.008285, allocations: 7.938 kB / 0.7916 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.008397, allocations: 31.78 kB / 0.7917 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.008416, allocations: 17.2 kB / 0.7917 GB, free: 6.852 MB / 0.7448 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.0001676/0.008584, allocations: 217 kB / 0.7919 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-05/0.008677, allocations: 109.6 kB / 0.792 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.008751, allocations: 116.7 kB / 0.7921 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-05/0.00884, allocations: 177.1 kB / 0.7923 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001029/0.008943, allocations: 188.2 kB / 0.7924 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.592e-05/0.009039, allocations: 182.5 kB / 0.7926 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.009326, allocations: 372.8 kB / 0.793 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.647e-05/0.009383, allocations: 108.9 kB / 0.7931 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.009437, allocations: 101 kB / 0.7932 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.671e-05/0.009533, allocations: 185.1 kB / 0.7934 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.386e-05/0.009627, allocations: 176.4 kB / 0.7935 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.019e-05/0.009717, allocations: 176.3 kB / 0.7937 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.461e-05/0.009812, allocations: 195.6 kB / 0.7939 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.01003, allocations: 319.7 kB / 0.7942 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.0101, allocations: 108.9 kB / 0.7943 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.01021, allocations: 188.2 kB / 0.7945 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.01033, allocations: 109 kB / 0.7946 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.434e-05/0.01042, allocations: 176.3 kB / 0.7947 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/0.01048, allocations: 104.9 kB / 0.7948 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001065/0.01058, allocations: 120.5 kB / 0.795 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01058, allocations: 0 / 0.795 GB, free: 3.316 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003224/0.01091, allocations: 28.44 kB / 0.795 GB, free: 3.289 MB / 0.7448 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.000239/0.01115, allocations: 192.5 kB / 0.7952 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001725/0.01132, allocations: 69.53 kB / 0.7952 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.01132, allocations: 2.812 kB / 0.7952 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.01132, allocations: 0 / 0.7952 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.01179, allocations: 473.2 kB / 0.7957 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.01218, allocations: 228.3 kB / 0.7959 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.806e-05/0.01228, allocations: 80.23 kB / 0.796 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002088/0.01249, allocations: 55.88 kB / 0.796 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.01252, allocations: 13 kB / 0.796 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.01252, allocations: 5.5 kB / 0.796 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of Templates: time 0.00522/0.01774, allocations: 1.82 MB / 0.7978 GB, free: 424 kB / 0.7448 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 -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/jenkins/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.487630098010413]