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.001604/0.001604, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 196 kB / 16.53 MB, free: 6.664 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.567/2.567, allocations: 437 MB / 0.7103 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.89 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6542/0.6557, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001778/0.6575, allocations: 0.5957 MB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.6578, allocations: 71.72 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.6578, allocations: 8 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.6578, allocations: 3.938 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/0.6579, allocations: 4 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.6582, allocations: 39.94 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.875e-05/0.6582, allocations: 23.92 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.6583, allocations: 4 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.6583, allocations: 15.97 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.6585, allocations: 59.89 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.6585, allocations: 8 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-05/0.6586, allocations: 39.95 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.6587, allocations: 15.98 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.6587, allocations: 23.8 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.6588, allocations: 63.8 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6589, allocations: 0 / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6589, allocations: 0 / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.6589, allocations: 0 / 1.018 GB, free: 1.562 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.0003312/0.6592, allocations: 369.4 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.6592, allocations: 8.031 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.6593, allocations: 12.84 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.511e-05/0.6594, allocations: 172.3 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.6594, allocations: 384 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.6594, allocations: 4.375 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.6596, allocations: 179.4 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.6597, allocations: 4 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.6597, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-05/0.6597, allocations: 23.92 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.6598, allocations: 39.89 kB / 1.019 GB, free: 0.6523 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.6604, allocations: 0.91 MB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.811e-05/0.6605, allocations: 169.1 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.6605, allocations: 80.14 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.6606, allocations: 75.28 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.729e-05/0.6606, allocations: 109.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.6606, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.537e-05/0.6607, allocations: 45.62 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001882/0.6609, allocations: 383.7 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.6611, allocations: 170.5 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.6611, allocations: 25.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/0.6612, allocations: 151.1 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-06/0.6612, allocations: 8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.6612, allocations: 53.61 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6614, allocations: 330.7 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.6614, allocations: 23.98 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.6616, allocations: 230.5 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.6618, allocations: 197.7 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.6618, allocations: 4 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002886/0.6621, allocations: 193 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6621, allocations: 8.641 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6621, allocations: 8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.6621, allocations: 11.94 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.6623, allocations: 39.92 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6623, allocations: 4 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.801e-05/0.6624, allocations: 27.75 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.6624, allocations: 12 kB / 1.022 GB, free: 13.06 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.0001229/0.6625, allocations: 213 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.6626, allocations: 116.8 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.103e-05/0.6627, allocations: 120.8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.205e-05/0.6627, allocations: 184.1 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.967e-05/0.6628, allocations: 176.3 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.497e-05/0.6628, allocations: 176.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.6631, allocations: 425.1 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.6631, allocations: 105 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-05/0.6631, allocations: 108.9 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-05/0.6632, allocations: 176.3 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.773e-05/0.6632, allocations: 184.3 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.643e-05/0.6633, allocations: 188.1 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.246e-05/0.6634, allocations: 184.3 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.6635, allocations: 311.8 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.6636, allocations: 186 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.6637, allocations: 184.2 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.6637, allocations: 108.9 kB / 1.025 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.6638, allocations: 188.2 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.6638, allocations: 101 kB / 1.025 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.856e-05/0.6639, allocations: 119.2 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6639, allocations: 0 / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002948/0.6642, allocations: 28 kB / 1.026 GB, free: 9.328 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.0001957/0.6644, allocations: 182.5 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.6646, allocations: 75.97 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6646, allocations: 0 / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.6646, allocations: 3.938 kB / 1.026 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.6649, allocations: 473.1 kB / 1.026 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.6652, allocations: 228.8 kB / 1.026 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.6654, allocations: 0.6968 MB / 1.027 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.6656, allocations: 52.58 kB / 1.027 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.6656, allocations: 15.44 kB / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6656, allocations: 0 / 1.027 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of Templates: time 0.003917/0.6696, allocations: 1.667 MB / 1.029 GB, free: 5.93 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