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.001401/0.001401, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001693/0.001693, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 1.008/1.008, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.388/2.388, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.333e-06/1.333e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.538e-05/1.671e-05, allocations: 10.31 kB / 0.8898 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001034/0.001051, allocations: 0.6055 MB / 0.8904 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002449/0.001296, allocations: 71.84 kB / 0.8905 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.001319, allocations: 0 / 0.8905 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.00135, allocations: 0 / 0.8905 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.001392, allocations: 19.86 kB / 0.8905 GB, free: 8.988 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.001659, allocations: 43.94 kB / 0.8905 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.767e-05/0.001707, allocations: 15.98 kB / 0.8905 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.359e-05/0.001741, allocations: 19.91 kB / 0.8906 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.001778, allocations: 11.98 kB / 0.8906 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.001923, allocations: 67.92 kB / 0.8906 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.001936, allocations: 4 kB / 0.8906 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.856e-05/0.002015, allocations: 43.92 kB / 0.8907 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.002042, allocations: 23.92 kB / 0.8907 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.002057, allocations: 11.98 kB / 0.8907 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.002159, allocations: 79.72 kB / 0.8908 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.002161, allocations: 0 / 0.8908 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002161, allocations: 0 / 0.8908 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.855e-06/0.002164, allocations: 0 / 0.8908 GB, free: 8.672 MB / 0.8542 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.0002441/0.002408, allocations: 388.5 kB / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.002441, allocations: 8.625 kB / 0.8912 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.002469, allocations: 16.88 kB / 0.8912 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.002662, allocations: 112.6 kB / 0.8913 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.002671, allocations: 8.375 kB / 0.8913 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.002681, allocations: 8.312 kB / 0.8913 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.002855, allocations: 383.8 kB / 0.8917 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.002861, allocations: 192 / 0.8917 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.00287, allocations: 4.125 kB / 0.8917 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.856e-05/0.002908, allocations: 31.89 kB / 0.8917 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.568e-05/0.002934, allocations: 23.92 kB / 0.8917 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.003387, allocations: 1.196 MB / 0.8929 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.809e-05/0.003455, allocations: 261.4 kB / 0.8932 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.868e-05/0.003484, allocations: 130.9 kB / 0.8933 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.003507, allocations: 123.2 kB / 0.8934 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.003548, allocations: 164.5 kB / 0.8936 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.003549, allocations: 0 / 0.8936 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.137e-05/0.003601, allocations: 41.59 kB / 0.8936 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.003703, allocations: 431.6 kB / 0.894 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.0038, allocations: 231.4 kB / 0.8942 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.00381, allocations: 25.7 kB / 0.8942 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.003878, allocations: 202.2 kB / 0.8944 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-06/0.003881, allocations: 4 kB / 0.8944 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.003925, allocations: 63.3 kB / 0.8945 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.004024, allocations: 0.4923 MB / 0.895 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.239e-05/0.004036, allocations: 15.98 kB / 0.895 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.004225, allocations: 0.5556 MB / 0.8955 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.004356, allocations: 237.1 kB / 0.8958 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.004359, allocations: 4 kB / 0.8958 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001622/0.004521, allocations: 165.8 kB / 0.8959 GB, free: 2.758 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.004532, allocations: 8 kB / 0.8959 GB, free: 2.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.004539, allocations: 8.031 kB / 0.8959 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.004552, allocations: 8 kB / 0.896 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/0.004625, allocations: 39.92 kB / 0.896 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.004633, allocations: 11.92 kB / 0.896 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.004682, allocations: 27.88 kB / 0.896 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.00469, allocations: 8 kB / 0.896 GB, free: 2.648 MB / 0.8542 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.194e-05/0.004782, allocations: 299.6 kB / 0.8963 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.004828, allocations: 160.8 kB / 0.8965 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.004874, allocations: 152.7 kB / 0.8966 GB, free: 2.02 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.592e-05/0.00493, allocations: 268.1 kB / 0.8969 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.408e-05/0.004984, allocations: 272 kB / 0.8971 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-05/0.005038, allocations: 268.1 kB / 0.8974 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.00519, allocations: 0.4886 MB / 0.8979 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001939/0.005384, allocations: 148.9 kB / 0.898 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.005415, allocations: 148.9 kB / 0.8982 GB, free: 388 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-05/0.005466, allocations: 272 kB / 0.8984 GB, free: 108 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.005525, allocations: 268 kB / 0.8987 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.117e-05/0.005576, allocations: 276 kB / 0.8989 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.065e-05/0.005627, allocations: 264.1 kB / 0.8992 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.005748, allocations: 459.8 kB / 0.8996 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.005787, allocations: 156.8 kB / 0.8998 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.005848, allocations: 276 kB / 0.9 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.145e-05/0.005909, allocations: 149.2 kB / 0.9002 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.005967, allocations: 272 kB / 0.9004 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.005995, allocations: 148.9 kB / 0.9006 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.738e-05/0.006043, allocations: 147.1 kB / 0.9007 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.006043, allocations: 0 / 0.9007 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00019/0.006233, allocations: 28 kB / 0.9007 GB, free: 13.63 MB / 0.8698 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.0001257/0.006359, allocations: 226.4 kB / 0.901 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.244e-05/0.006451, allocations: 78.03 kB / 0.901 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.006453, allocations: 4 kB / 0.901 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.006454, allocations: 0 / 0.901 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.006726, allocations: 0.7217 MB / 0.9017 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001958/0.006922, allocations: 271 kB / 0.902 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.301e-05/0.006955, allocations: 63.98 kB / 0.9021 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.497e-05/0.00702, allocations: 32.62 kB / 0.9021 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.007146, allocations: 138.2 kB / 0.9022 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/0.007146, allocations: 0 / 0.9022 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of Templates: time 0.00295/0.0101, allocations: 1.852 MB / 0.904 GB, free: 10.25 MB / 0.8698 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.234886770136654]