Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001203/0.001203, allocations: 105 kB / 16.41 MB, free: 6.465 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.001311/0.001311, allocations: 187 kB / 17.34 MB, free: 5.719 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.11 kB / 1.055 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8407, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002031/0.8427, allocations: 0.6048 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.8431, allocations: 71.84 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.8432, allocations: 3.938 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.149e-05/0.8432, allocations: 0 / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.8433, allocations: 15.92 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.8437, allocations: 43.95 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.8437, allocations: 35.83 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.8438, allocations: 0 / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.564e-05/0.8438, allocations: 11.98 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.844, allocations: 63.89 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.8441, allocations: 3.984 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.8442, allocations: 39.95 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.8442, allocations: 16 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.8443, allocations: 19.8 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.8444, allocations: 67.86 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8444, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8444, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.8444, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 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.0003876/0.8448, allocations: 371.2 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.8449, allocations: 11.97 kB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.8449, allocations: 4.938 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.29e-05/0.845, allocations: 164.4 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.8451, allocations: 384 / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.8451, allocations: 4.375 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.8453, allocations: 183.4 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.8453, allocations: 0 / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.8454, allocations: 4 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.8454, allocations: 19.98 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.8455, allocations: 47.83 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.8462, allocations: 0.9157 MB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.369e-05/0.8463, allocations: 165.1 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/0.8463, allocations: 80.14 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.8464, allocations: 75.28 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.8464, allocations: 113.8 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.8464, allocations: 4 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.476e-05/0.8465, allocations: 37.55 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/0.8467, allocations: 391.7 kB / 1.212 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.8469, allocations: 164.5 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.8469, allocations: 29.7 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.847, allocations: 147.1 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-06/0.847, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.8471, allocations: 57.61 kB / 1.212 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8472, allocations: 330.8 kB / 1.213 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/0.8473, allocations: 27.92 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.8474, allocations: 218.6 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.8476, allocations: 197.8 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.8476, allocations: 0 / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003083/0.848, allocations: 197.1 kB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.848, allocations: 8 kB / 1.213 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.848, allocations: 4 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.848, allocations: 11.94 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.8481, allocations: 39.92 kB / 1.213 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.8482, allocations: 12.61 kB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.8483, allocations: 23.84 kB / 1.213 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.8483, allocations: 15.94 kB / 1.213 GB, free: 8.117 MB / 0.9356 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.000124/0.8484, allocations: 213 kB / 1.214 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/0.8485, allocations: 112.8 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.8486, allocations: 112.9 kB / 1.214 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-05/0.8486, allocations: 188.2 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.828e-05/0.8487, allocations: 184.2 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-05/0.8487, allocations: 176.3 kB / 1.214 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.849, allocations: 421.2 kB / 1.215 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-05/0.849, allocations: 109 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.8491, allocations: 105 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.75e-05/0.8491, allocations: 188.2 kB / 1.215 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.8492, allocations: 180.3 kB / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.665e-05/0.8493, allocations: 184.1 kB / 1.215 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.495e-05/0.8494, allocations: 180.2 kB / 1.216 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.8495, allocations: 315.7 kB / 1.216 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.8496, allocations: 186 kB / 1.216 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.222e-05/0.8497, allocations: 188.2 kB / 1.216 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.8498, allocations: 104.9 kB / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.8498, allocations: 188.2 kB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.8499, allocations: 101 kB / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.43e-05/0.8499, allocations: 112.9 kB / 1.217 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.85, allocations: 4 kB / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003184/0.8503, allocations: 28 kB / 1.217 GB, free: 4.387 MB / 0.9356 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.0002056/0.8505, allocations: 186.5 kB / 1.217 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001518/0.8506, allocations: 68.91 kB / 1.217 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.8507, allocations: 8.188 kB / 1.217 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.611e-06/0.8507, allocations: 4.266 kB / 1.217 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.851, allocations: 467.7 kB / 1.217 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.8514, allocations: 254.4 kB / 1.218 GB, free: 3.375 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.8516, allocations: 0.6891 MB / 1.218 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.8517, allocations: 19.38 kB / 1.218 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.8517, allocations: 8 kB / 1.218 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of Templates: time 0.003638/0.8553, allocations: 1.719 MB / 1.22 GB, free: 0.9375 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches