Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001143/0.001143, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001179/0.001179, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.51/2.51, allocations: 437 MB / 0.711 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 67.75 kB / 0.8699 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3152, allocations: 151.6 MB / 1.018 GB, free: 10.56 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002197/0.3174, allocations: 0.6058 MB / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003571/0.3178, allocations: 63.84 kB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.3179, allocations: 0 / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.318, allocations: 3.938 kB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.318, allocations: 7.984 kB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.3183, allocations: 43.89 kB / 1.019 GB, free: 9.832 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.3184, allocations: 27.97 kB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.3185, allocations: 0 / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.676e-05/0.3185, allocations: 12 kB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.3187, allocations: 75.86 kB / 1.019 GB, free: 9.719 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3188, allocations: 0 / 1.019 GB, free: 9.719 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.3189, allocations: 31.97 kB / 1.019 GB, free: 9.688 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.3189, allocations: 23.92 kB / 1.019 GB, free: 9.664 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.319, allocations: 19.86 kB / 1.019 GB, free: 9.645 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.3191, allocations: 71.72 kB / 1.019 GB, free: 9.574 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3191, allocations: 4 kB / 1.019 GB, free: 9.57 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3191, allocations: 4 kB / 1.019 GB, free: 9.566 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3192, allocations: 0 / 1.019 GB, free: 9.566 MB / 0.795 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.0004025/0.3196, allocations: 359.7 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.3196, allocations: 8.031 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.3197, allocations: 8.844 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.3198, allocations: 164.3 kB / 1.019 GB, free: 8.949 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3198, allocations: 8.359 kB / 1.019 GB, free: 8.941 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.3198, allocations: 384 / 1.019 GB, free: 8.941 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.3201, allocations: 184.9 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3201, allocations: 0 / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.3201, allocations: 11.98 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/0.3202, allocations: 23.92 kB / 1.02 GB, free: 8.703 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.3203, allocations: 39.91 kB / 1.02 GB, free: 8.664 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.321, allocations: 0.9061 MB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.62e-05/0.3211, allocations: 169.1 kB / 1.021 GB, free: 7.512 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.838e-05/0.3211, allocations: 80.14 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.3211, allocations: 75.28 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.3212, allocations: 113.8 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 2.445e-06/0.3212, allocations: 3.984 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 8.738e-05/0.3213, allocations: 37.55 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.3215, allocations: 391.7 kB / 1.021 GB, free: 6.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.3216, allocations: 163.4 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3216, allocations: 29.7 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.727e-05/0.3217, allocations: 151 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-06/0.3217, allocations: 7.984 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.3218, allocations: 49.7 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.3219, allocations: 322.8 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.322, allocations: 31.91 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.3222, allocations: 225.1 kB / 1.022 GB, free: 5.645 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.3223, allocations: 201.7 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3224, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003068/0.3227, allocations: 193.5 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3227, allocations: 8 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/0.3227, allocations: 4 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.3227, allocations: 11.94 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.3229, allocations: 39.92 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3229, allocations: 8 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.258e-05/0.323, allocations: 35.67 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.323, allocations: 8 kB / 1.023 GB, free: 5.074 MB / 0.795 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.000121/0.3231, allocations: 210 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.3232, allocations: 120.8 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.003e-05/0.3232, allocations: 112.9 kB / 1.023 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.217e-05/0.3233, allocations: 184.1 kB / 1.023 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-05/0.3234, allocations: 184.2 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.628e-05/0.3234, allocations: 180.3 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.3237, allocations: 422.8 kB / 1.024 GB, free: 3.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-05/0.3237, allocations: 104.9 kB / 1.024 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.3238, allocations: 112.9 kB / 1.024 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.949e-05/0.3238, allocations: 176.3 kB / 1.025 GB, free: 3.184 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.477e-05/0.3239, allocations: 180.3 kB / 1.025 GB, free: 3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.815e-05/0.324, allocations: 188.1 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.027e-05/0.324, allocations: 176.3 kB / 1.025 GB, free: 2.629 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.3242, allocations: 315.7 kB / 1.025 GB, free: 2.297 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.601e-05/0.3243, allocations: 186 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.3244, allocations: 180.3 kB / 1.026 GB, free: 1.906 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.3245, allocations: 116.9 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/0.3246, allocations: 188.5 kB / 1.026 GB, free: 1.594 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.3246, allocations: 105 kB / 1.026 GB, free: 1.484 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.244e-05/0.3247, allocations: 111.2 kB / 1.026 GB, free: 1.375 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3247, allocations: 0 / 1.026 GB, free: 1.375 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003572/0.3251, allocations: 32 kB / 1.026 GB, free: 1.344 MB / 0.795 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.0002204/0.3253, allocations: 190.5 kB / 1.026 GB, free: 1.145 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.3255, allocations: 84.94 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3255, allocations: 4 kB / 1.027 GB, free: 1.059 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.3255, allocations: 0 / 1.027 GB, free: 1.059 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3258, allocations: 471.7 kB / 1.027 GB, free: 0.5938 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003446/0.3262, allocations: 250.5 kB / 1.027 GB, free: 324 kB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.3265, allocations: 0.689 MB / 1.028 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.3265, allocations: 19.44 kB / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3265, allocations: 0 / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of Templates: time 0.003819/0.3303, allocations: 1.714 MB / 1.03 GB, free: 13.88 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches