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.001157/0.001157, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001733/0.001733, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.478/1.478, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 73.5 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3323, allocations: 157.4 MB / 1.052 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002185/0.3345, allocations: 0.6619 MB / 1.053 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004012/0.3349, allocations: 71.84 kB / 1.053 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.335, allocations: 0 / 1.053 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.335, allocations: 0 / 1.053 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.985e-05/0.3351, allocations: 15.92 kB / 1.053 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.3355, allocations: 39.95 kB / 1.053 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.3355, allocations: 23.97 kB / 1.053 GB, free: 8.016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.3356, allocations: 4 kB / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.754e-05/0.3356, allocations: 11.98 kB / 1.053 GB, free: 8 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.3359, allocations: 71.84 kB / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3359, allocations: 3.938 kB / 1.053 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.336, allocations: 39.91 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.3361, allocations: 15.98 kB / 1.053 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.3361, allocations: 23.81 kB / 1.053 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3363, allocations: 71.78 kB / 1.053 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3363, allocations: 0 / 1.053 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.91e-07/0.3363, allocations: 0 / 1.053 GB, free: 7.777 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.3363, allocations: 0 / 1.053 GB, free: 7.777 MB / 0.8106 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.0004202/0.3367, allocations: 367.7 kB / 1.053 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3368, allocations: 8.031 kB / 1.053 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.3368, allocations: 8.844 kB / 1.053 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.546e-05/0.3369, allocations: 172.3 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.337, allocations: 384 / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.337, allocations: 4.375 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.3372, allocations: 177.5 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3373, allocations: 7.922 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.3373, allocations: 8 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-05/0.3373, allocations: 19.98 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.3374, allocations: 39.91 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.3382, allocations: 0.91 MB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.3383, allocations: 173.1 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.3383, allocations: 80.14 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3384, allocations: 83.22 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.3384, allocations: 105.8 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.3384, allocations: 4 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.425e-05/0.3385, allocations: 37.61 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001749/0.3387, allocations: 387.7 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3389, allocations: 167.4 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.3389, allocations: 29.7 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.339, allocations: 151 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/0.339, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/0.3391, allocations: 53.7 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3392, allocations: 326.8 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.3393, allocations: 31.91 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.3395, allocations: 214.5 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.3397, allocations: 201.7 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3397, allocations: 4 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003031/0.34, allocations: 189.1 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.34, allocations: 8 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.34, allocations: 7.984 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.3401, allocations: 12.03 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3402, allocations: 40.48 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.3402, allocations: 15.92 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.3403, allocations: 35.69 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.3404, allocations: 8 kB / 1.057 GB, free: 3.27 MB / 0.8106 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.000151/0.3405, allocations: 214.6 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.3406, allocations: 108.9 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.3407, allocations: 116.8 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.87e-05/0.3407, allocations: 184.2 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.35e-05/0.3408, allocations: 184.2 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.515e-05/0.3409, allocations: 184.2 kB / 1.058 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3411, allocations: 421.2 kB / 1.058 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/0.3412, allocations: 104.9 kB / 1.059 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.3412, allocations: 105 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.019e-05/0.3413, allocations: 184.3 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.676e-05/0.3414, allocations: 180.2 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.018e-05/0.3415, allocations: 184.2 kB / 1.059 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.406e-05/0.3415, allocations: 180.2 kB / 1.059 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.3417, allocations: 315.9 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.3418, allocations: 190.1 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.3419, allocations: 180.3 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.342, allocations: 112.8 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.3421, allocations: 180.3 kB / 1.06 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/0.3422, allocations: 104.9 kB / 1.06 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.013e-05/0.3423, allocations: 113.1 kB / 1.06 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3423, allocations: 8 kB / 1.06 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003465/0.3426, allocations: 28 kB / 1.06 GB, free: 15.54 MB / 0.8262 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.0002366/0.3429, allocations: 190.5 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.343, allocations: 72.91 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3431, allocations: 8.125 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.3431, allocations: 0 / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.3435, allocations: 0.5389 MB / 1.061 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.3439, allocations: 249 kB / 1.061 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3442, allocations: 0.697 MB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000275/0.3445, allocations: 60.58 kB / 1.062 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.3445, allocations: 15.44 kB / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of SimCode: time 7.11e-07/0.3445, allocations: 0 / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.004746/0.3493, allocations: 1.735 MB / 1.064 GB, free: 11.96 MB / 0.8262 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/jenkins/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