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.001668/0.001668, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001619/0.001619, allocations: 220.9 kB / 23.01 MB, free: 4.609 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.812/2.812, allocations: 476.8 MB / 0.7714 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 176] 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.002073/0.002073, allocations: 64.84 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3337, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001809/0.3355, allocations: 0.6152 MB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003548/0.3359, allocations: 63.84 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.3359, allocations: 4 kB / 1.285 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.3359, allocations: 3.938 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.336, allocations: 11.98 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.3363, allocations: 43.94 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.627e-05/0.3364, allocations: 23.92 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.3364, allocations: 4 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.3365, allocations: 19.97 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.3367, allocations: 63.88 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.3367, allocations: 4 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3368, allocations: 47.94 kB / 1.286 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.3368, allocations: 15.94 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.3369, allocations: 23.86 kB / 1.286 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.337, allocations: 67.73 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.337, allocations: 7.984 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.223e-06/0.337, allocations: 0 / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.337, allocations: 0 / 1.286 GB, free: 10.2 MB / 0.9825 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.0003718/0.3374, allocations: 290.1 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3374, allocations: 8.031 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.3375, allocations: 12.88 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.47e-05/0.3376, allocations: 110.5 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3376, allocations: 8.312 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.3376, allocations: 384 / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.3379, allocations: 181.8 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3379, allocations: 0 / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3379, allocations: 4 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.3379, allocations: 35.91 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.338, allocations: 35.91 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/0.3388, allocations: 0.8741 MB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.3389, allocations: 165.3 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.3389, allocations: 84.14 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.419e-05/0.339, allocations: 83.22 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.546e-05/0.339, allocations: 113.8 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.339, allocations: 0 / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.881e-05/0.3391, allocations: 41.59 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/0.3393, allocations: 387.7 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.3395, allocations: 165.7 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3395, allocations: 29.7 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3396, allocations: 151.5 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.3396, allocations: 0 / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.3397, allocations: 53.66 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3398, allocations: 330.8 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/0.3399, allocations: 23.98 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.3401, allocations: 217.3 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3403, allocations: 205.7 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3403, allocations: 4 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000314/0.3406, allocations: 189.1 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.3406, allocations: 8 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3407, allocations: 4 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3407, allocations: 12.59 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3408, allocations: 35.92 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3408, allocations: 15.98 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-05/0.3409, allocations: 31.78 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3409, allocations: 8 kB / 1.289 GB, free: 5.902 MB / 0.9825 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.000145/0.3411, allocations: 213 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.3411, allocations: 112.9 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.3412, allocations: 112.8 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.004e-05/0.3413, allocations: 196.1 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.486e-05/0.3414, allocations: 180.3 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.486e-05/0.3415, allocations: 176.3 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.3417, allocations: 396.2 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/0.3418, allocations: 102.9 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.3418, allocations: 112.8 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.806e-05/0.3419, allocations: 184.3 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.299e-05/0.342, allocations: 176.3 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-05/0.342, allocations: 184.1 kB / 1.291 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-05/0.3421, allocations: 180.3 kB / 1.292 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.3423, allocations: 323.6 kB / 1.292 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.3424, allocations: 104.9 kB / 1.292 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.856e-05/0.3424, allocations: 188.2 kB / 1.292 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.3425, allocations: 112.9 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.3426, allocations: 180.2 kB / 1.292 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.3427, allocations: 101 kB / 1.293 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.102e-05/0.3428, allocations: 119.2 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3428, allocations: 0 / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003245/0.3431, allocations: 27.94 kB / 1.293 GB, free: 2.297 MB / 0.9825 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.0002234/0.3433, allocations: 186.5 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.3435, allocations: 72.91 kB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3435, allocations: 7.938 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-06/0.3435, allocations: 336 / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3439, allocations: 465.8 kB / 1.293 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.3442, allocations: 262.2 kB / 1.294 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.3446, allocations: 0.6932 MB / 1.294 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.3446, allocations: 19.44 kB / 1.294 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3446, allocations: 4 kB / 1.294 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of Templates: time 0.003775/0.3484, allocations: 1.719 MB / 1.296 GB, free: 14.84 MB / 0.9981 GB " [Timeout remaining time 299] 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/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: 11.611260749021312]