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.001831/0.001831, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002187/0.002187, allocations: 219.5 kB / 22.99 MB, free: 4.914 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.831/2.831, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 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.002187/0.002187, allocations: 73.81 kB / 1.118 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3335, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001939/0.3354, allocations: 0.6052 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004187/0.3358, allocations: 67.84 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.3359, allocations: 0 / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.3359, allocations: 0 / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.445e-05/0.336, allocations: 11.92 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.3363, allocations: 43.94 kB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.3364, allocations: 23.92 kB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.3365, allocations: 4 kB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.987e-05/0.3365, allocations: 19.92 kB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.3367, allocations: 63.92 kB / 1.285 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3367, allocations: 4 kB / 1.285 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.3369, allocations: 39.95 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.3369, allocations: 19.92 kB / 1.285 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.3369, allocations: 15.88 kB / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3371, allocations: 71.72 kB / 1.285 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3371, allocations: 4 kB / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3371, allocations: 0 / 1.285 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.3371, allocations: 0 / 1.285 GB, free: 10.93 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.0003909/0.3375, allocations: 290.2 kB / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3375, allocations: 8.031 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.3376, allocations: 8.891 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.933e-05/0.3377, allocations: 110.5 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.3377, allocations: 12.3 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.3377, allocations: 8.359 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.3381, allocations: 436.4 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3381, allocations: 4 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.3381, allocations: 7.984 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/0.3382, allocations: 27.97 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.3383, allocations: 35.91 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007838/0.339, allocations: 0.8396 MB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3392, allocations: 177.1 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.3392, allocations: 84.14 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.3392, allocations: 75.28 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.545e-05/0.3393, allocations: 113.8 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3393, allocations: 0 / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.522e-05/0.3394, allocations: 33.66 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002273/0.3396, allocations: 395.7 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.3398, allocations: 180.9 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.3398, allocations: 29.7 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.3399, allocations: 155.5 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.142e-06/0.34, allocations: 4 kB / 1.288 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/0.34, allocations: 53.66 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3402, allocations: 322.8 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.339e-05/0.3402, allocations: 23.98 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.3406, allocations: 479.6 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.3408, allocations: 201.8 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3408, allocations: 4 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003238/0.3411, allocations: 189.1 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3411, allocations: 8 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3412, allocations: 7.938 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3412, allocations: 8.656 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3413, allocations: 35.92 kB / 1.289 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.3413, allocations: 19.88 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.466e-05/0.3414, allocations: 27.84 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3414, allocations: 8 kB / 1.289 GB, free: 6.027 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.0001554/0.3416, allocations: 217 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.3417, allocations: 112.9 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.3417, allocations: 116.7 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.262e-05/0.3418, allocations: 180.3 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.457e-05/0.3419, allocations: 184.1 kB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-05/0.342, allocations: 180.3 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002578/0.3422, allocations: 376.8 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.196e-05/0.3423, allocations: 110.8 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.3423, allocations: 104.9 kB / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.69e-05/0.3424, allocations: 184.2 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.66e-05/0.3425, allocations: 176.3 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.314e-05/0.3426, allocations: 180.2 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.714e-05/0.3427, allocations: 188.2 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.3429, allocations: 315.7 kB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.3429, allocations: 108.9 kB / 1.292 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.343, allocations: 188.2 kB / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.362e-05/0.3431, allocations: 104.9 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.3432, allocations: 188.2 kB / 1.292 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/0.3433, allocations: 104.9 kB / 1.292 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.535e-05/0.3434, allocations: 117.3 kB / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3434, allocations: 0 / 1.292 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000329/0.3437, allocations: 27.98 kB / 1.292 GB, free: 2.453 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.0002151/0.3439, allocations: 186.5 kB / 1.293 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001669/0.3441, allocations: 72.78 kB / 1.293 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.3441, allocations: 4 kB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.3441, allocations: 0 / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.3445, allocations: 463.7 kB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.3449, allocations: 266.5 kB / 1.293 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.668e-05/0.345, allocations: 79.97 kB / 1.293 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.345, allocations: 23.36 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.345, allocations: 0 / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of Templates: time 0.004004/0.349, allocations: 1.737 MB / 1.295 GB, free: 15.59 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.613853144925088]