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.00113/0.00113, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001078/0.001078, allocations: 169 kB / 24.86 MB, free: 8.836 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 0.963/0.963, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 1.837/1.837, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",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.[0-9,]+.|x_notMon.[0-9,]+.|x_incWeak.[0-9,]+.|x_notWeak.[0-9,]+.|x_decStrict.[0-9,]+.|x_decWeak.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.28e-05/1.388e-05, allocations: 8.781 kB / 0.7884 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0009543/0.0009682, allocations: 0.6256 MB / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002106/0.001179, allocations: 67.8 kB / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.001198, allocations: 0 / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.716e-05/0.001225, allocations: 1.562 kB / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.568e-05/0.00126, allocations: 7.938 kB / 0.7891 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.001487, allocations: 48.7 kB / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.751e-05/0.001534, allocations: 28.75 kB / 0.7891 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.854e-05/0.001563, allocations: 0 / 0.7891 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.001596, allocations: 30.09 kB / 0.7892 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.001735, allocations: 71.91 kB / 0.7892 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.001745, allocations: 0 / 0.7892 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.058e-05/0.001816, allocations: 43.94 kB / 0.7893 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.001841, allocations: 15.92 kB / 0.7893 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.437e-05/0.001856, allocations: 8 kB / 0.7893 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.827e-05/0.001954, allocations: 76.84 kB / 0.7894 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.001955, allocations: 0 / 0.7894 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.001956, allocations: 0 / 0.7894 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.001959, allocations: 1.312 kB / 0.7894 GB, free: 11.14 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.000221/0.00218, allocations: 392.5 kB / 0.7897 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.002208, allocations: 12.03 kB / 0.7897 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.475e-05/0.002233, allocations: 8.875 kB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.328e-05/0.002286, allocations: 114.6 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.002294, allocations: 384 / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.002304, allocations: 12.36 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.002473, allocations: 381.9 kB / 0.7902 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.002478, allocations: 192 / 0.7902 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.00249, allocations: 18.3 kB / 0.7903 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.002523, allocations: 19.98 kB / 0.7903 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.534e-05/0.002548, allocations: 27.84 kB / 0.7903 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004351/0.002983, allocations: 1.181 MB / 0.7915 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.195e-05/0.003055, allocations: 277.4 kB / 0.7917 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.003083, allocations: 126.9 kB / 0.7918 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.003109, allocations: 119.7 kB / 0.792 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.003153, allocations: 162.1 kB / 0.7921 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 5.61e-07/0.003154, allocations: 3.938 kB / 0.7921 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.888e-05/0.003203, allocations: 41.53 kB / 0.7922 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.00332, allocations: 435.6 kB / 0.7926 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.003418, allocations: 227 kB / 0.7928 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.003429, allocations: 29.7 kB / 0.7928 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.003497, allocations: 202.2 kB / 0.793 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/0.003501, allocations: 7.984 kB / 0.793 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.003545, allocations: 59.3 kB / 0.7931 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.003648, allocations: 0.4932 MB / 0.7936 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.003659, allocations: 11.98 kB / 0.7936 GB, free: 6.477 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.00385, allocations: 0.5466 MB / 0.7941 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.003977, allocations: 241.1 kB / 0.7943 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.003979, allocations: 3.938 kB / 0.7943 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001597/0.004139, allocations: 169.5 kB / 0.7945 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.00415, allocations: 11.98 kB / 0.7945 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.004156, allocations: 4.875 kB / 0.7945 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.609e-06/0.004165, allocations: 4 kB / 0.7945 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.00424, allocations: 44.77 kB / 0.7946 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.004245, allocations: 7.938 kB / 0.7946 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.004295, allocations: 25.12 kB / 0.7946 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.004305, allocations: 12 kB / 0.7946 GB, free: 5.145 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 9.216e-05/0.004397, allocations: 299.6 kB / 0.7949 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.004446, allocations: 153.7 kB / 0.795 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.937e-05/0.004495, allocations: 172.7 kB / 0.7952 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.354e-05/0.004548, allocations: 265 kB / 0.7955 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-05/0.004601, allocations: 268.1 kB / 0.7957 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.276e-05/0.004653, allocations: 269.6 kB / 0.796 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.004805, allocations: 0.4887 MB / 0.7964 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/0.004836, allocations: 148.8 kB / 0.7966 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.004864, allocations: 148.9 kB / 0.7967 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.477e-05/0.004919, allocations: 268.1 kB / 0.797 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.00497, allocations: 269.2 kB / 0.7972 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-05/0.005019, allocations: 264.1 kB / 0.7975 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.399e-05/0.005073, allocations: 276 kB / 0.7978 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.005189, allocations: 455.1 kB / 0.7982 GB, free: 1.324 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.00523, allocations: 152.8 kB / 0.7983 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.005308, allocations: 268 kB / 0.7986 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.005392, allocations: 156.8 kB / 0.7987 GB, free: 0.7383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.005456, allocations: 272.1 kB / 0.799 GB, free: 476 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.005491, allocations: 148.8 kB / 0.7991 GB, free: 320 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.57e-05/0.005546, allocations: 144.3 kB / 0.7993 GB, free: 176 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005546, allocations: 4 kB / 0.7993 GB, free: 172 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002918/0.005838, allocations: 24.5 kB / 0.7993 GB, free: 148 kB / 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.0001493/0.005987, allocations: 227.8 kB / 0.7995 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.006102, allocations: 84.33 kB / 0.7996 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006104, allocations: 0 / 0.7996 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.006105, allocations: 0 / 0.7996 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.006464, allocations: 0.7194 MB / 0.8003 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.006675, allocations: 273.6 kB / 0.8006 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.966e-05/0.006715, allocations: 64 kB / 0.8006 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.383e-05/0.006799, allocations: 33.38 kB / 0.8007 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.006956, allocations: 136.6 kB / 0.8008 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of SimCode: time 4.71e-07/0.006957, allocations: 0 / 0.8008 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of Templates: time 0.003711/0.01067, allocations: 1.856 MB / 0.8026 GB, free: 12.79 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.902864226140082]