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.002613/0.002613, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.003065/0.003065, allocations: 165.3 kB / 23.55 MB, free: 0.8672 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.546/1.546, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.938/2.938, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.984e-06/1.984e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.128e-05, allocations: 10.25 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002413/0.002445, allocations: 0.6093 MB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004015/0.002846, allocations: 71.78 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.002871, allocations: 0.625 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.684e-05/0.002928, allocations: 3.984 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-05/0.002982, allocations: 9.344 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.003323, allocations: 45.09 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.121e-05/0.003414, allocations: 31.77 kB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.003455, allocations: 3.984 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.285e-05/0.003518, allocations: 21.23 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.003826, allocations: 71.91 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.003849, allocations: 3.938 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.004012, allocations: 45.53 kB / 0.7873 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.004066, allocations: 11.98 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.004106, allocations: 15.92 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.00432, allocations: 79.72 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.004323, allocations: 1 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004324, allocations: 0 / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.004328, 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.0005934/0.004922, allocations: 389.3 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.004966, allocations: 12.03 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.545e-05/0.005031, allocations: 8.891 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.005171, allocations: 113.8 kB / 0.7879 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.005184, allocations: 384 / 0.7879 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.005211, allocations: 8.375 kB / 0.7879 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.005749, allocations: 395.5 kB / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.005759, allocations: 192 / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.005784, allocations: 8.125 kB / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-05/0.00586, allocations: 23.92 kB / 0.7883 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.793e-05/0.005948, allocations: 29.34 kB / 0.7884 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.007397, allocations: 1.215 MB / 0.7896 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.007624, allocations: 265.4 kB / 0.7898 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.007728, allocations: 130.9 kB / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.658e-05/0.007814, allocations: 122 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.007951, allocations: 164.5 kB / 0.7902 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.007952, allocations: 3.938 kB / 0.7902 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001192/0.008071, allocations: 33.66 kB / 0.7902 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003828/0.008454, allocations: 431.6 kB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.008758, allocations: 227 kB / 0.7909 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.008797, allocations: 29.7 kB / 0.7909 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/0.009002, allocations: 203 kB / 0.7911 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/0.009007, allocations: 0 / 0.7911 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.009138, allocations: 64.97 kB / 0.7912 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003771/0.009515, allocations: 0.4923 MB / 0.7916 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/0.009562, allocations: 11.94 kB / 0.7916 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008483/0.01041, allocations: 0.5522 MB / 0.7922 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.0108, allocations: 240.5 kB / 0.7924 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.01081, allocations: 8.516 kB / 0.7924 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004921/0.0113, allocations: 173.5 kB / 0.7926 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.01132, allocations: 8 kB / 0.7926 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.01133, allocations: 5.25 kB / 0.7926 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.01136, allocations: 8 kB / 0.7926 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.01155, allocations: 35.92 kB / 0.7926 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.01157, allocations: 12.75 kB / 0.7927 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.01171, allocations: 27.78 kB / 0.7927 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.01173, allocations: 16.88 kB / 0.7927 GB, free: 5.703 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.0002586/0.01199, allocations: 299.6 kB / 0.793 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.01214, allocations: 158.3 kB / 0.7931 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.01227, allocations: 160.7 kB / 0.7933 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000174/0.01244, allocations: 264.1 kB / 0.7935 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001882/0.01263, allocations: 276.8 kB / 0.7938 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001775/0.01281, allocations: 268.1 kB / 0.7941 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.01331, allocations: 0.5056 MB / 0.7946 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001/0.01341, allocations: 148.8 kB / 0.7947 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.01351, allocations: 152.9 kB / 0.7948 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001842/0.0137, allocations: 272 kB / 0.7951 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000177/0.01387, allocations: 264.1 kB / 0.7954 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001964/0.01407, allocations: 272.8 kB / 0.7956 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001736/0.01424, allocations: 264.1 kB / 0.7959 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.01461, allocations: 459.8 kB / 0.7963 GB, free: 1.852 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.01473, allocations: 156.2 kB / 0.7965 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.01494, allocations: 276 kB / 0.7967 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.01513, allocations: 148.9 kB / 0.7969 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.01532, allocations: 272.1 kB / 0.7971 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.01543, allocations: 148.8 kB / 0.7973 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001465/0.01558, allocations: 147.7 kB / 0.7974 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01558, allocations: 0 / 0.7974 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005211/0.0161, allocations: 28 kB / 0.7974 GB, free: 0.668 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.000322/0.01642, allocations: 231 kB / 0.7976 GB, free: 444 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.01664, allocations: 76.09 kB / 0.7977 GB, free: 368 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.01665, allocations: 7.938 kB / 0.7977 GB, free: 360 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.01665, allocations: 0.6562 kB / 0.7977 GB, free: 360 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/0.0175, allocations: 0.7184 MB / 0.7984 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000469/0.01797, allocations: 265.9 kB / 0.7987 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.0181, allocations: 86.7 kB / 0.7988 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002387/0.01834, allocations: 50.55 kB / 0.7988 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.01838, allocations: 17.53 kB / 0.7988 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of SimCode: time 7.51e-07/0.01838, allocations: 0 / 0.7988 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of Templates: time 0.007586/0.02596, allocations: 1.828 MB / 0.8006 GB, free: 13.43 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] 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: 8.051274192985147]