Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001427, allocations: 108 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 199.6 kB / 16.91 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 63.41 kB / 0.8127 GB, free: 33.29 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2806, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00208/0.2827, allocations: 0.6628 MB / 0.9504 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003679/0.2831, allocations: 67.84 kB / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.02e-05/0.2832, allocations: 0 / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.396e-05/0.2832, allocations: 0 / 0.9505 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.2833, allocations: 7.938 kB / 0.9505 GB, free: 8.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.2836, allocations: 43.95 kB / 0.9505 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.2837, allocations: 31.91 kB / 0.9506 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.2837, allocations: 4 kB / 0.9506 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.825e-05/0.2837, allocations: 11.97 kB / 0.9506 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.284, allocations: 71.88 kB / 0.9507 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.284, allocations: 0 / 0.9507 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.2841, allocations: 47.89 kB / 0.9507 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.2841, allocations: 11.98 kB / 0.9507 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.2842, allocations: 27.8 kB / 0.9507 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.624e-05/0.2843, allocations: 39.89 kB / 0.9508 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2843, allocations: 7.984 kB / 0.9508 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2843, allocations: 4 kB / 0.9508 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2843, allocations: 0 / 0.9508 GB, free: 8.18 MB / 0.7325 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.0003419/0.2847, allocations: 355.7 kB / 0.9511 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.2847, allocations: 12.03 kB / 0.9511 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.2848, allocations: 16.83 kB / 0.9512 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.227e-05/0.2849, allocations: 160.4 kB / 0.9513 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2849, allocations: 4.312 kB / 0.9513 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.2849, allocations: 8.359 kB / 0.9513 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.2852, allocations: 177 kB / 0.9515 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2852, allocations: 0 / 0.9515 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.2852, allocations: 15.91 kB / 0.9515 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.2853, allocations: 19.98 kB / 0.9515 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.935e-05/0.2853, allocations: 35.91 kB / 0.9516 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.286, allocations: 0.91 MB / 0.9524 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.2861, allocations: 177.1 kB / 0.9526 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.2862, allocations: 80.14 kB / 0.9527 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.2862, allocations: 75.28 kB / 0.9528 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.2862, allocations: 113.8 kB / 0.9529 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.2863, allocations: 0 / 0.9529 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 8.119e-05/0.2863, allocations: 29.7 kB / 0.9529 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.2865, allocations: 395.7 kB / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.2866, allocations: 167.5 kB / 0.9534 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.2867, allocations: 25.7 kB / 0.9535 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.2868, allocations: 153.2 kB / 0.9536 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-06/0.2868, allocations: 3.984 kB / 0.9536 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.945e-05/0.2868, allocations: 57.61 kB / 0.9537 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.287, allocations: 318.8 kB / 0.954 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.287, allocations: 31.97 kB / 0.954 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2872, allocations: 219.7 kB / 0.9542 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.2874, allocations: 205.6 kB / 0.9544 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2874, allocations: 4 kB / 0.9544 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003051/0.2877, allocations: 193.3 kB / 0.9546 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2877, allocations: 8 kB / 0.9546 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2877, allocations: 4 kB / 0.9546 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.2878, allocations: 7.938 kB / 0.9546 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2879, allocations: 39.92 kB / 0.9547 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2879, allocations: 4 kB / 0.9547 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.288, allocations: 36.09 kB / 0.9547 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.288, allocations: 16.09 kB / 0.9547 GB, free: 3.684 MB / 0.7325 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 0.0001243/0.2881, allocations: 216.5 kB / 0.9549 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.2882, allocations: 116.9 kB / 0.955 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.598e-05/0.2883, allocations: 116.6 kB / 0.9551 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.766e-05/0.2884, allocations: 184.1 kB / 0.9553 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.823e-05/0.2884, allocations: 184.3 kB / 0.9555 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.968e-05/0.2885, allocations: 188.2 kB / 0.9557 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.2888, allocations: 413.2 kB / 0.9561 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.03e-05/0.2888, allocations: 105 kB / 0.9562 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.2889, allocations: 104.9 kB / 0.9563 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.077e-05/0.2889, allocations: 180.2 kB / 0.9564 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/0.289, allocations: 184.2 kB / 0.9566 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-05/0.2891, allocations: 188.2 kB / 0.9568 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.328e-05/0.2891, allocations: 176.3 kB / 0.957 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.2893, allocations: 311.7 kB / 0.9573 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.2894, allocations: 194 kB / 0.9574 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.92e-05/0.2895, allocations: 176.3 kB / 0.9576 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.2895, allocations: 113.1 kB / 0.9577 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.2896, allocations: 180.2 kB / 0.9579 GB, free: 216 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.2896, allocations: 109 kB / 0.958 GB, free: 100 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.155e-05/0.2897, allocations: 118.6 kB / 0.9581 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2898, allocations: 0 / 0.9581 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003159/0.2901, allocations: 32 kB / 0.9581 GB, free: 15.95 MB / 0.7481 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.000223/0.2903, allocations: 182.5 kB / 0.9583 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.2905, allocations: 80.77 kB / 0.9584 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2905, allocations: 320 / 0.9584 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-06/0.2905, allocations: 11.94 kB / 0.9584 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.2909, allocations: 464.7 kB / 0.9588 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.2912, allocations: 282.3 kB / 0.9591 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.2914, allocations: 0.6929 MB / 0.9598 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.2915, allocations: 15.44 kB / 0.9598 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/0.2915, allocations: 0 / 0.9598 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of Templates: time 0.003739/0.2952, allocations: 1.712 MB / 0.9615 GB, free: 12.48 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches