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.0008244/0.0008244, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009762/0.0009762, allocations: 165 kB / 23.02 MB, free: 1.551 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.9587/0.9587, allocations: 177.1 MB / 203.4 MB, free: 5.609 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.09/2.09, allocations: 429.5 MB / 0.6733 GB, free: 4.008 MB / 0.6355 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.402e-06/1.402e-06, allocations: 0 / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.258e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001081/0.001103, allocations: 0.6208 MB / 0.8788 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.001381, allocations: 72.66 kB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.001404, allocations: 0.6875 kB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.001443, allocations: 0 / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.001489, allocations: 9.297 kB / 0.8789 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.001776, allocations: 51.22 kB / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.001838, allocations: 33.11 kB / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.001873, allocations: 0 / 0.879 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.00191, allocations: 23.97 kB / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.002081, allocations: 65.58 kB / 0.8791 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.002095, allocations: 0 / 0.8791 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.65e-05/0.002181, allocations: 43.92 kB / 0.8791 GB, free: 5.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.002215, allocations: 19.94 kB / 0.8791 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.002238, allocations: 19.91 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.002355, allocations: 70.77 kB / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002357, allocations: 0 / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002358, allocations: 0 / 0.8792 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.002361, allocations: 0 / 0.8792 GB, free: 5.23 MB / 0.8386 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.0003051/0.002667, allocations: 392.5 kB / 0.8796 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.002706, allocations: 12.03 kB / 0.8796 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.002747, allocations: 12.83 kB / 0.8796 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.103e-05/0.002808, allocations: 116.5 kB / 0.8797 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.00282, allocations: 5.031 kB / 0.8797 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.002835, allocations: 4.375 kB / 0.8797 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.003062, allocations: 397.4 kB / 0.8801 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.003073, allocations: 192 / 0.8801 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.003086, allocations: 4.125 kB / 0.8801 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-05/0.003132, allocations: 23.98 kB / 0.8801 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.00317, allocations: 33.19 kB / 0.8802 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.003701, allocations: 1.215 MB / 0.8814 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.339e-05/0.003774, allocations: 265.4 kB / 0.8816 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.003805, allocations: 134.9 kB / 0.8817 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.003831, allocations: 119.2 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.003875, allocations: 160.5 kB / 0.882 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.003876, allocations: 0 / 0.882 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.799e-05/0.003934, allocations: 41.58 kB / 0.882 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.004042, allocations: 435.6 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.004161, allocations: 224 kB / 0.8827 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.004172, allocations: 25.7 kB / 0.8827 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.004242, allocations: 206.2 kB / 0.8829 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.004245, allocations: 0 / 0.8829 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.004291, allocations: 63.34 kB / 0.883 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.004388, allocations: 0.4923 MB / 0.8834 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.046e-05/0.004409, allocations: 19.92 kB / 0.8835 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.004602, allocations: 0.5422 MB / 0.884 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.004733, allocations: 242 kB / 0.8842 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.004736, allocations: 7.938 kB / 0.8842 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00019/0.004926, allocations: 173.8 kB / 0.8844 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.004939, allocations: 12.03 kB / 0.8844 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.004945, allocations: 4 kB / 0.8844 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.004961, allocations: 4 kB / 0.8844 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.005049, allocations: 39.92 kB / 0.8845 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.005058, allocations: 11.94 kB / 0.8845 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.005109, allocations: 23.84 kB / 0.8845 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.00512, allocations: 15.94 kB / 0.8845 GB, free: 15.16 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 8.961e-05/0.005209, allocations: 295.6 kB / 0.8848 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.005258, allocations: 160.8 kB / 0.8849 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.005308, allocations: 168.7 kB / 0.8851 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-05/0.005359, allocations: 268 kB / 0.8854 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.131e-05/0.00541, allocations: 268.1 kB / 0.8856 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.226e-05/0.005462, allocations: 276 kB / 0.8859 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.005621, allocations: 0.5076 MB / 0.8864 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/0.005651, allocations: 148.8 kB / 0.8865 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.00568, allocations: 144.9 kB / 0.8866 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-05/0.005732, allocations: 268.1 kB / 0.8869 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.005789, allocations: 272 kB / 0.8872 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.314e-05/0.005842, allocations: 264.1 kB / 0.8874 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-05/0.005897, allocations: 272 kB / 0.8877 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.006024, allocations: 459.9 kB / 0.8881 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.953e-05/0.006064, allocations: 156.8 kB / 0.8883 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.336e-05/0.006127, allocations: 268.1 kB / 0.8885 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.847e-05/0.006186, allocations: 156.8 kB / 0.8887 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.006251, allocations: 264.1 kB / 0.8889 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.006284, allocations: 156.8 kB / 0.8891 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.00634, allocations: 153.5 kB / 0.8892 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006341, allocations: 0 / 0.8892 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001944/0.006535, allocations: 28 kB / 0.8892 GB, free: 10.11 MB / 0.8542 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.0001388/0.006674, allocations: 230.4 kB / 0.8895 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.006785, allocations: 71.47 kB / 0.8895 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.006787, allocations: 0 / 0.8895 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.734e-06/0.006789, allocations: 4 kB / 0.8895 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.007076, allocations: 0.7231 MB / 0.8902 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.007309, allocations: 277.6 kB / 0.8905 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.481e-05/0.007343, allocations: 63.94 kB / 0.8906 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.182e-05/0.007435, allocations: 48.59 kB / 0.8906 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.007452, allocations: 20.5 kB / 0.8906 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of SimCode: time 4.31e-07/0.007452, allocations: 0 / 0.8906 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of Templates: time 0.003257/0.01071, allocations: 1.815 MB / 0.8924 GB, free: 6.875 MB / 0.8542 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.344618781004101]