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.0009233/0.0009233, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009563/0.0009563, allocations: 173 kB / 23.49 MB, free: 1.055 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.9762/0.9762, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.153/2.153, allocations: 429.5 MB / 0.6736 GB, free: 4.043 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.393e-06/1.393e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.729e-05, allocations: 6.484 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0009883/0.001006, allocations: 0.6198 MB / 0.8788 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002613/0.001267, allocations: 69.53 kB / 0.8789 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.001294, allocations: 0 / 0.8789 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.922e-05/0.001333, allocations: 7.922 kB / 0.8789 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.289e-05/0.001376, allocations: 6.141 kB / 0.8789 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.001659, allocations: 45.28 kB / 0.879 GB, free: 5.902 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.001721, allocations: 22.7 kB / 0.879 GB, free: 5.883 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.00176, allocations: 11.98 kB / 0.879 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.001794, allocations: 17.31 kB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.001962, allocations: 73.33 kB / 0.8791 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.001977, allocations: 5.594 kB / 0.8791 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.289e-05/0.002059, allocations: 39.94 kB / 0.8791 GB, free: 5.742 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.483e-05/0.002094, allocations: 24.47 kB / 0.8792 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.002115, allocations: 7.938 kB / 0.8792 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.002239, allocations: 77.7 kB / 0.8792 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.002242, allocations: 4 kB / 0.8792 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002242, allocations: 0 / 0.8792 GB, free: 5.633 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.002246, allocations: 0 / 0.8792 GB, free: 5.633 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.0002908/0.002537, allocations: 384.5 kB / 0.8796 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.00257, allocations: 14.62 kB / 0.8796 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.002614, allocations: 16.88 kB / 0.8796 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.259e-05/0.002676, allocations: 112.5 kB / 0.8797 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.002691, allocations: 8.375 kB / 0.8798 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.002705, allocations: 8.359 kB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.002927, allocations: 397.9 kB / 0.8801 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.002935, allocations: 4.188 kB / 0.8801 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.002947, allocations: 4.844 kB / 0.8801 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.002989, allocations: 19.98 kB / 0.8802 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.724e-05/0.003026, allocations: 33.2 kB / 0.8802 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/0.003572, allocations: 1.211 MB / 0.8814 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.14e-05/0.003653, allocations: 265.4 kB / 0.8816 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.003688, allocations: 130.9 kB / 0.8818 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.003714, allocations: 123.2 kB / 0.8819 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.003763, allocations: 160.5 kB / 0.882 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.003764, allocations: 0 / 0.882 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.166e-05/0.003826, allocations: 37.66 kB / 0.8821 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.003951, allocations: 431.6 kB / 0.8825 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.004072, allocations: 223.8 kB / 0.8827 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.004085, allocations: 37.69 kB / 0.8827 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.004159, allocations: 202.2 kB / 0.8829 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.004164, allocations: 4 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.004211, allocations: 55.36 kB / 0.883 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.004323, allocations: 0.4962 MB / 0.8835 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.004342, allocations: 11.94 kB / 0.8835 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.004553, allocations: 0.548 MB / 0.884 GB, free: 192 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.004699, allocations: 242 kB / 0.8842 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.004702, allocations: 4 kB / 0.8842 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001982/0.0049, allocations: 181.7 kB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.004911, allocations: 4 kB / 0.8844 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.004919, allocations: 8 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.004934, allocations: 4 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.663e-05/0.005021, allocations: 39.92 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.005029, allocations: 7.984 kB / 0.8845 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.005082, allocations: 27.84 kB / 0.8845 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.005093, allocations: 15.94 kB / 0.8845 GB, free: 15.57 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.587e-05/0.005189, allocations: 303.5 kB / 0.8848 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.00524, allocations: 156.8 kB / 0.885 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.005284, allocations: 160.8 kB / 0.8851 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-05/0.00534, allocations: 272 kB / 0.8854 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.044e-05/0.005401, allocations: 268.1 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.418e-05/0.005465, allocations: 268 kB / 0.8859 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.005646, allocations: 0.5076 MB / 0.8864 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.334e-05/0.005679, allocations: 148.9 kB / 0.8865 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.352e-05/0.005713, allocations: 148.8 kB / 0.8867 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.735e-05/0.00577, allocations: 268.1 kB / 0.8869 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.005829, allocations: 272 kB / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.747e-05/0.005886, allocations: 264.1 kB / 0.8874 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.905e-05/0.005945, allocations: 268.1 kB / 0.8877 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.006071, allocations: 463.9 kB / 0.8881 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.006115, allocations: 156.8 kB / 0.8883 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/0.006187, allocations: 272.1 kB / 0.8885 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.488e-05/0.006251, allocations: 156.8 kB / 0.8887 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.006313, allocations: 272.1 kB / 0.8889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.006346, allocations: 144.9 kB / 0.8891 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.842e-05/0.006404, allocations: 153.2 kB / 0.8892 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006404, allocations: 0 / 0.8892 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001952/0.006599, allocations: 24 kB / 0.8893 GB, free: 10.52 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.0001373/0.006737, allocations: 234.4 kB / 0.8895 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.006848, allocations: 71.47 kB / 0.8895 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.00685, allocations: 4 kB / 0.8895 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-07/0.006851, allocations: 1.312 kB / 0.8895 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.007163, allocations: 0.7189 MB / 0.8903 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.007397, allocations: 273.7 kB / 0.8905 GB, free: 9.184 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.007434, allocations: 71.92 kB / 0.8906 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.635e-05/0.007521, allocations: 44.61 kB / 0.8906 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.007537, allocations: 16.5 kB / 0.8906 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.007538, allocations: 0 / 0.8906 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of Templates: time 0.003127/0.01066, allocations: 1.825 MB / 0.8924 GB, free: 7.285 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.271983952959999]