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.001813/0.001813, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001983/0.001983, allocations: 195.6 kB / 16.14 MB, free: 6.688 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.552/1.552, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.807/2.807, allocations: 437 MB / 0.71 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 75.89 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6402/0.6423, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001972/0.6444, allocations: 0.6683 MB / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003506/0.6447, allocations: 75.78 kB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.6448, allocations: 3.938 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.6448, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.533e-05/0.6448, allocations: 11.98 kB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.6451, allocations: 31.91 kB / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.6452, allocations: 31.95 kB / 1.017 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.6452, allocations: 4 kB / 1.017 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.593e-05/0.6453, allocations: 11.98 kB / 1.017 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.6455, allocations: 71.86 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.6455, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.6456, allocations: 35.95 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.6456, allocations: 19.98 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.6457, allocations: 19.81 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.6458, allocations: 67.8 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.6458, allocations: 4 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6459, allocations: 3.938 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.6459, allocations: 0 / 1.018 GB, free: 1.723 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.0003966/0.6463, allocations: 367.3 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.6463, allocations: 8.031 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.6464, allocations: 8.844 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.6465, allocations: 172.3 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.6465, allocations: 384 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.6465, allocations: 4.375 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.6468, allocations: 184.1 kB / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6468, allocations: 0 / 1.018 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.6468, allocations: 4 kB / 1.018 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.6469, allocations: 27.91 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.608e-05/0.647, allocations: 43.91 kB / 1.018 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.6478, allocations: 0.9061 MB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.504e-05/0.6479, allocations: 165.1 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.6479, allocations: 80.14 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.648, allocations: 79.27 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.958e-05/0.648, allocations: 113.8 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.648, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.39e-05/0.6481, allocations: 37.64 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002116/0.6483, allocations: 387.7 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.6485, allocations: 168.5 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.6485, allocations: 29.7 kB / 1.02 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.6486, allocations: 147.1 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-06/0.6487, allocations: 7.984 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.6487, allocations: 49.7 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6489, allocations: 326.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.253e-05/0.6489, allocations: 27.97 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.6491, allocations: 218.5 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.6494, allocations: 205.7 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6494, allocations: 0 / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003231/0.6497, allocations: 193.2 kB / 1.021 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6497, allocations: 13.19 kB / 1.021 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.6497, allocations: 7.984 kB / 1.021 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.6498, allocations: 11.94 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.6499, allocations: 43.92 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.6499, allocations: 8.594 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.176e-05/0.65, allocations: 31.75 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.65, allocations: 8 kB / 1.022 GB, free: 13.22 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.0001484/0.6502, allocations: 213.5 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.6503, allocations: 116.8 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.62e-05/0.6504, allocations: 112.8 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.037e-05/0.6504, allocations: 188.1 kB / 1.022 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.706e-05/0.6505, allocations: 180.3 kB / 1.022 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.76e-05/0.6506, allocations: 180.2 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.6509, allocations: 421.2 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-05/0.6509, allocations: 101 kB / 1.023 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.277e-05/0.651, allocations: 108.9 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.102e-05/0.6511, allocations: 184.3 kB / 1.023 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.6512, allocations: 184.2 kB / 1.023 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.76e-05/0.6513, allocations: 188.1 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-05/0.6513, allocations: 176.3 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.6515, allocations: 315.7 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.6516, allocations: 190 kB / 1.024 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.369e-05/0.6517, allocations: 180.3 kB / 1.024 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.503e-05/0.6518, allocations: 108.9 kB / 1.025 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.6519, allocations: 184.2 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.652, allocations: 105 kB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.389e-05/0.6521, allocations: 113.7 kB / 1.025 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6521, allocations: 4 kB / 1.025 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003219/0.6524, allocations: 28 kB / 1.025 GB, free: 9.496 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.000223/0.6526, allocations: 186.5 kB / 1.025 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.6528, allocations: 76.91 kB / 1.025 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6528, allocations: 8.125 kB / 1.025 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.6528, allocations: 0 / 1.025 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.6533, allocations: 0.5302 MB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.6536, allocations: 246.7 kB / 1.026 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.6539, allocations: 0.6932 MB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.6542, allocations: 56.59 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/0.6542, allocations: 15.44 kB / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6542, allocations: 0 / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of Templates: time 0.004801/0.659, allocations: 1.744 MB / 1.028 GB, free: 5.914 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=400 -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