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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.007479/0.007479, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001953/0.001953, allocations: 193.6 kB / 16.79 MB, free: 5.809 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.309/1.309, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 69.5 kB / 0.899 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2904, allocations: 157.4 MB / 1.053 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002084/0.2925, allocations: 0.6599 MB / 1.053 GB, free: 7.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003714/0.2929, allocations: 79.84 kB / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.2929, allocations: 0 / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.293, allocations: 0 / 1.053 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.561e-05/0.2931, allocations: 7.938 kB / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.2933, allocations: 31.95 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.2934, allocations: 31.95 kB / 1.054 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.2935, allocations: 4 kB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.2935, allocations: 11.94 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.2937, allocations: 71.91 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.2937, allocations: 4 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.2938, allocations: 39.89 kB / 1.054 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.2939, allocations: 19.94 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.2939, allocations: 19.86 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.294, allocations: 43.94 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2941, allocations: 0 / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2941, allocations: 0 / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2941, allocations: 0 / 1.054 GB, free: 7.191 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.0003472/0.2944, allocations: 369.2 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2945, allocations: 11.97 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.2945, allocations: 12.84 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.67e-05/0.2946, allocations: 168.3 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2947, allocations: 384 / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2947, allocations: 4.359 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.295, allocations: 184.3 kB / 1.054 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.295, allocations: 3.938 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.295, allocations: 8 kB / 1.054 GB, free: 6.336 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.2951, allocations: 27.92 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.2951, allocations: 35.91 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.2959, allocations: 0.9139 MB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.274e-05/0.2959, allocations: 165.1 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.824e-05/0.296, allocations: 80.14 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.296, allocations: 79.28 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.2961, allocations: 113.8 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2961, allocations: 3.938 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.067e-05/0.2962, allocations: 41.59 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/0.2963, allocations: 383.7 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.2965, allocations: 160.2 kB / 1.056 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2965, allocations: 33.7 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.2966, allocations: 151 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.911e-06/0.2966, allocations: 4 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.2967, allocations: 49.7 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2968, allocations: 326.8 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.2968, allocations: 23.98 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.297, allocations: 218.5 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.2972, allocations: 205.7 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.2973, allocations: 4 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003084/0.2976, allocations: 181.1 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.2976, allocations: 13.73 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2976, allocations: 4 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.2976, allocations: 15.94 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.2978, allocations: 39.92 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.2978, allocations: 8 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.2979, allocations: 31.69 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.2979, allocations: 8 kB / 1.058 GB, free: 2.691 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.0001428/0.2981, allocations: 213 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.2981, allocations: 112.9 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.781e-05/0.2982, allocations: 116.8 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.31e-05/0.2983, allocations: 188.1 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.768e-05/0.2983, allocations: 180.3 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.498e-05/0.2984, allocations: 184.2 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.2986, allocations: 421.2 kB / 1.059 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-05/0.2987, allocations: 112.9 kB / 1.059 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.2987, allocations: 108.9 kB / 1.059 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.442e-05/0.2988, allocations: 180.3 kB / 1.059 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-05/0.2988, allocations: 180.2 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.339e-05/0.2989, allocations: 184.2 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.703e-05/0.299, allocations: 176.3 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.2991, allocations: 315.7 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.2992, allocations: 190 kB / 1.06 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.598e-05/0.2993, allocations: 180.3 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.2994, allocations: 109.2 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.008e-05/0.2995, allocations: 188.2 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.2995, allocations: 105 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.27e-05/0.2996, allocations: 117.1 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2996, allocations: 4 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003177/0.2999, allocations: 24 kB / 1.061 GB, free: 14.96 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.0002057/0.3001, allocations: 186.5 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001602/0.3003, allocations: 83.84 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3003, allocations: 0 / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.3003, allocations: 0 / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.3007, allocations: 0.5351 MB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003545/0.3011, allocations: 280.1 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.3014, allocations: 0.6971 MB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.3014, allocations: 15.44 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3014, allocations: 0 / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.003641/0.3051, allocations: 1.693 MB / 1.064 GB, free: 11.42 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/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