Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001079/0.001079, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001774/0.002853, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009419/0.0009419, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004876/0.005818, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.015/1.015, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1215/1.137, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.385/2.385, allocations: 447.1 MB / 0.675 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2479/2.633, allocations: 146 MB / 0.8176 GB, free: 3.852 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.819 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.185e-05, allocations: 6.25 kB / 0.819 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001241/0.001263, allocations: 0.6645 MB / 0.8196 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001597/0.001423, allocations: 75.8 kB / 0.8197 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.001444, allocations: 4 kB / 0.8197 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.863e-05/0.001462, allocations: 0 / 0.8197 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.519e-05/0.001488, allocations: 7.938 kB / 0.8197 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.001666, allocations: 35.94 kB / 0.8198 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.484e-05/0.001741, allocations: 27.91 kB / 0.8198 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.001781, allocations: 7.984 kB / 0.8198 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.001826, allocations: 19.98 kB / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.00199, allocations: 67.88 kB / 0.8199 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.002005, allocations: 0 / 0.8199 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.00211, allocations: 55.92 kB / 0.8199 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.002142, allocations: 11.94 kB / 0.8199 GB, free: 1.477 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.485e-05/0.002157, allocations: 8 kB / 0.82 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.002273, allocations: 71.73 kB / 0.82 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.002285, allocations: 0 / 0.82 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.72e-07/0.002286, allocations: 0 / 0.82 GB, free: 1.398 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.002298, allocations: 0 / 0.82 GB, free: 1.398 MB / 0.7917 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.0003018/0.0026, allocations: 272.5 kB / 0.8203 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.00263, allocations: 12.03 kB / 0.8203 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.002673, allocations: 8.922 kB / 0.8203 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.153e-05/0.002735, allocations: 109.7 kB / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.002747, allocations: 8.312 kB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.002762, allocations: 4.375 kB / 0.8204 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.002972, allocations: 370.2 kB / 0.8208 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.002979, allocations: 192 / 0.8208 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.00299, allocations: 12.06 kB / 0.8208 GB, free: 496 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.003032, allocations: 19.98 kB / 0.8208 GB, free: 476 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.043e-05/0.003063, allocations: 31.84 kB / 0.8208 GB, free: 444 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.003773, allocations: 0.7952 MB / 0.8216 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.728e-05/0.00383, allocations: 165.1 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.003851, allocations: 88.14 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.003868, allocations: 79.28 kB / 0.8219 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.003902, allocations: 109.8 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.003903, allocations: 0 / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.164e-05/0.003964, allocations: 41.62 kB / 0.8221 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.004, allocations: 126.7 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.004096, allocations: 170.4 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.004107, allocations: 25.7 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.004168, allocations: 147.5 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.004171, allocations: 7.984 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.004216, allocations: 53.64 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.00429, allocations: 318.8 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.004303, allocations: 11.98 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.004474, allocations: 482.1 kB / 0.8234 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.004602, allocations: 196.5 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.004605, allocations: 4 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001488/0.004754, allocations: 145.8 kB / 0.8237 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.004768, allocations: 12 kB / 0.8237 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.004774, allocations: 4 kB / 0.8237 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.004789, allocations: 4 kB / 0.8237 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.247e-05/0.004881, allocations: 43.92 kB / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.004889, allocations: 11.94 kB / 0.8238 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.738e-05/0.004946, allocations: 27.84 kB / 0.8238 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.004955, allocations: 8 kB / 0.8238 GB, free: 13.06 MB / 0.8073 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 8.414e-05/0.005039, allocations: 223.7 kB / 0.824 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.005083, allocations: 108.9 kB / 0.8241 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.88e-05/0.005122, allocations: 116.8 kB / 0.8242 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-05/0.005159, allocations: 176.3 kB / 0.8244 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.944e-05/0.005199, allocations: 184.2 kB / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.795e-05/0.005237, allocations: 180.3 kB / 0.8247 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.005371, allocations: 333.3 kB / 0.8251 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.577e-05/0.005397, allocations: 109.1 kB / 0.8252 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.331e-05/0.00542, allocations: 105 kB / 0.8253 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.005457, allocations: 116.8 kB / 0.8254 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.044e-05/0.005498, allocations: 176.3 kB / 0.8255 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.005549, allocations: 188.2 kB / 0.8257 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.015e-05/0.005589, allocations: 176.3 kB / 0.8259 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.983e-05/0.005629, allocations: 184.2 kB / 0.8261 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.91e-05/0.005728, allocations: 315.7 kB / 0.8264 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.834e-05/0.005776, allocations: 184.2 kB / 0.8265 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.005828, allocations: 109 kB / 0.8266 GB, free: 9.977 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.00587, allocations: 180.2 kB / 0.8268 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.005893, allocations: 105 kB / 0.8269 GB, free: 9.684 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.867e-05/0.005922, allocations: 28.81 kB / 0.8269 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.005922, allocations: 0 / 0.8269 GB, free: 9.652 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001902/0.006112, allocations: 28 kB / 0.827 GB, free: 9.625 MB / 0.8073 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.0001524/0.006265, allocations: 171.6 kB / 0.8271 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000105/0.00637, allocations: 75 kB / 0.8272 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.006377, allocations: 5.969 kB / 0.8272 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.534e-06/0.00638, allocations: 0 / 0.8272 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.006607, allocations: 495.6 kB / 0.8277 GB, free: 8.883 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.00683, allocations: 222.8 kB / 0.8279 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.007136, allocations: 67.98 kB / 0.828 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.767e-05/0.007204, allocations: 28.64 kB / 0.828 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.007325, allocations: 115.3 kB / 0.8281 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.007326, allocations: 0 / 0.8281 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.003113/0.01044, allocations: 1.67 MB / 0.8297 GB, free: 6.801 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.104949176311493]