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.001967/0.001967, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.002343/0.002343, allocations: 169.3 kB / 22.46 MB, free: 5.359 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.478/1.478, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 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.721/2.721, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 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.804e-06/1.804e-06, allocations: 0 / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.811e-05, allocations: 6.219 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002161/0.002189, allocations: 0.6151 MB / 0.9516 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003935/0.002583, allocations: 59.86 kB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.002611, allocations: 0 / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.002655, allocations: 11.94 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.002703, allocations: 3.984 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.003066, allocations: 43.94 kB / 0.9517 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.347e-05/0.003149, allocations: 27.91 kB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.003184, allocations: 0 / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.936e-05/0.003243, allocations: 23.97 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.003519, allocations: 71.86 kB / 0.9519 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.003541, allocations: 4 kB / 0.9519 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.003696, allocations: 51.88 kB / 0.9519 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.003739, allocations: 12 kB / 0.9519 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.003775, allocations: 19.86 kB / 0.9519 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.003971, allocations: 67.84 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003973, allocations: 4 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003974, allocations: 0 / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.003978, allocations: 0 / 0.952 GB, free: 10.48 MB / 0.8575 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.0004428/0.00442, allocations: 294.1 kB / 0.9523 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.004457, allocations: 8.031 kB / 0.9523 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.004511, allocations: 8.891 kB / 0.9523 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.004632, allocations: 117.7 kB / 0.9524 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.004646, allocations: 384 / 0.9524 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.004655, allocations: 384 / 0.9524 GB, free: 10 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.005188, allocations: 438.8 kB / 0.9528 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.005198, allocations: 192 / 0.9528 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.005223, allocations: 8.109 kB / 0.9528 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/0.005284, allocations: 27.92 kB / 0.9529 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.005389, allocations: 35.91 kB / 0.9529 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009631/0.006352, allocations: 0.8474 MB / 0.9537 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.006478, allocations: 173.1 kB / 0.9539 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.006534, allocations: 84.14 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/0.006582, allocations: 79.28 kB / 0.9541 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.169e-05/0.006663, allocations: 113.8 kB / 0.9542 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.006665, allocations: 0 / 0.9542 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0001171/0.006782, allocations: 37.59 kB / 0.9542 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002699/0.007052, allocations: 395.7 kB / 0.9546 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.007281, allocations: 167.5 kB / 0.9547 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.007313, allocations: 29.7 kB / 0.9548 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.007449, allocations: 155.5 kB / 0.9549 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.007453, allocations: 0 / 0.9549 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.007565, allocations: 57.64 kB / 0.955 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.00774, allocations: 322.8 kB / 0.9553 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.046e-05/0.007811, allocations: 27.92 kB / 0.9553 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004799/0.008291, allocations: 479.6 kB / 0.9558 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.00861, allocations: 205.7 kB / 0.956 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.008613, allocations: 4 kB / 0.956 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004894/0.009103, allocations: 189.7 kB / 0.9561 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.00912, allocations: 8.125 kB / 0.9561 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.009132, allocations: 8 kB / 0.9562 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.009157, allocations: 7.984 kB / 0.9562 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.009344, allocations: 39.92 kB / 0.9562 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.009357, allocations: 4 kB / 0.9562 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.00953, allocations: 31.78 kB / 0.9562 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.009557, allocations: 19.94 kB / 0.9563 GB, free: 5.574 MB / 0.8575 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.0002016/0.009758, allocations: 209 kB / 0.9565 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.00988, allocations: 112.9 kB / 0.9566 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.055e-05/0.009961, allocations: 116.8 kB / 0.9567 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.01007, allocations: 184.2 kB / 0.9568 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001013/0.01017, allocations: 180.3 kB / 0.957 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/0.01027, allocations: 176.3 kB / 0.9572 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.01063, allocations: 376.7 kB / 0.9575 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.574e-05/0.01069, allocations: 105.6 kB / 0.9576 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.01076, allocations: 108.9 kB / 0.9578 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.931e-05/0.01086, allocations: 176.3 kB / 0.9579 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.01096, allocations: 180.2 kB / 0.9581 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001006/0.01106, allocations: 184.3 kB / 0.9583 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001091/0.01117, allocations: 184.5 kB / 0.9584 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.01141, allocations: 319.7 kB / 0.9587 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/0.0115, allocations: 112.9 kB / 0.9589 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.01164, allocations: 188.2 kB / 0.959 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.0118, allocations: 105.1 kB / 0.9591 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.01191, allocations: 188.1 kB / 0.9593 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.207e-05/0.01197, allocations: 101 kB / 0.9594 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001343/0.0121, allocations: 120.9 kB / 0.9595 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.0121, allocations: 0 / 0.9595 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005917/0.0127, allocations: 31.94 kB / 0.9596 GB, free: 2.008 MB / 0.8575 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.0002883/0.01298, allocations: 190.5 kB / 0.9597 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.01324, allocations: 75.72 kB / 0.9598 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.01324, allocations: 0 / 0.9598 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.17e-06/0.01324, allocations: 4 kB / 0.9598 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.01389, allocations: 469 kB / 0.9603 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.01433, allocations: 228.5 kB / 0.9605 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.01444, allocations: 75.98 kB / 0.9606 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002836/0.01473, allocations: 60.38 kB / 0.9606 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.01475, allocations: 16.5 kB / 0.9606 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of SimCode: time 5.21e-07/0.01475, allocations: 0 / 0.9606 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of Templates: time 0.007051/0.02181, allocations: 1.814 MB / 0.9624 GB, free: 15.11 MB / 0.8731 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.746891543269157]