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.001441/0.001441, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001977/0.001977, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.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.57/2.57, allocations: 437 MB / 0.71 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.91 kB / 0.8687 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5954/0.5967, allocations: 151.6 MB / 1.017 GB, free: 2.727 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001922/0.5986, allocations: 0.6744 MB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.599, allocations: 75.78 kB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.599, allocations: 0 / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.704e-05/0.5991, allocations: 0 / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.698e-05/0.5991, allocations: 7.938 kB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.5995, allocations: 35.95 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.057e-05/0.5995, allocations: 27.97 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.5996, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.51e-05/0.5996, allocations: 19.98 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.5998, allocations: 75.86 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.5998, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.5999, allocations: 39.89 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.6, allocations: 23.92 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.6, allocations: 23.8 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.6002, allocations: 67.8 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6002, allocations: 0 / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.285e-06/0.6002, allocations: 0 / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6002, allocations: 0 / 1.018 GB, free: 1.66 MB / 0.7637 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.0003972/0.6006, allocations: 365.4 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.6006, allocations: 8.031 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.6007, allocations: 8.844 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.6008, allocations: 176.2 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.6008, allocations: 384 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.6009, allocations: 4.375 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.6011, allocations: 175.5 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.6012, allocations: 7.938 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.6012, allocations: 3.984 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.887e-05/0.6012, allocations: 23.98 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.844e-05/0.6013, allocations: 35.91 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.6022, allocations: 0.9022 MB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.6023, allocations: 169.1 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.6023, allocations: 88.14 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.6024, allocations: 79.28 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/0.6024, allocations: 109.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.6024, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.00011/0.6025, allocations: 37.69 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002319/0.6028, allocations: 387.7 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.603, allocations: 168.8 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.603, allocations: 33.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.6031, allocations: 147.1 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.6031, allocations: 7.984 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.6032, allocations: 49.61 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6033, allocations: 322.8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.437e-05/0.6034, allocations: 27.97 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.6036, allocations: 227 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.6038, allocations: 201.7 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6038, allocations: 11.94 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003121/0.6041, allocations: 189.7 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.6042, allocations: 8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.6042, allocations: 4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.6042, allocations: 11.94 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.6043, allocations: 39.92 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.6044, allocations: 8.031 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.6045, allocations: 31.69 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.6045, allocations: 8 kB / 1.022 GB, free: 13.16 MB / 0.7794 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.0001455/0.6046, allocations: 217 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.654e-05/0.6047, allocations: 116.9 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.6048, allocations: 112.9 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.888e-05/0.6049, allocations: 188.1 kB / 1.022 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.543e-05/0.6049, allocations: 176.3 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-05/0.605, allocations: 184.2 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.6052, allocations: 421.2 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-05/0.6053, allocations: 101 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/0.6053, allocations: 108.9 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.334e-05/0.6054, allocations: 184.2 kB / 1.023 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.6054, allocations: 180.2 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-05/0.6055, allocations: 184.2 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-05/0.6055, allocations: 188.2 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.6057, allocations: 307.8 kB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.6057, allocations: 185.9 kB / 1.024 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.116e-05/0.6058, allocations: 184.3 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.6059, allocations: 116.9 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.606, allocations: 180.2 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.606, allocations: 101 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.199e-05/0.6061, allocations: 117.3 kB / 1.025 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.673e-06/0.6061, allocations: 0 / 1.025 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000307/0.6064, allocations: 31.94 kB / 1.025 GB, free: 9.434 MB / 0.7794 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.0001932/0.6066, allocations: 194.5 kB / 1.025 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.6068, allocations: 71.78 kB / 1.025 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6068, allocations: 0 / 1.025 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.551e-06/0.6068, allocations: 5.297 kB / 1.025 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.6071, allocations: 471.6 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.6074, allocations: 237.2 kB / 1.026 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.6077, allocations: 0.6929 MB / 1.027 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002283/0.6079, allocations: 52.59 kB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.6079, allocations: 15.44 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6079, allocations: 0 / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of Templates: time 0.004069/0.612, allocations: 1.803 MB / 1.029 GB, free: 5.883 MB / 0.7794 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/jenkins/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