Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006842/0.006842, allocations: 96.45 kB / 15.73 MB, free: 6.051 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.001523/0.001524, allocations: 196.9 kB / 16.67 MB, free: 5.977 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.4/2.4, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 68.23 kB / 0.9509 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2878, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00154/0.2894, allocations: 0.5999 MB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002887/0.2897, allocations: 67.84 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.2898, allocations: 0 / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.835e-05/0.2898, allocations: 4 kB / 1.089 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.2898, allocations: 11.92 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.2901, allocations: 39.95 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.702e-05/0.2902, allocations: 27.91 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.2903, allocations: 0 / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.305e-05/0.2903, allocations: 19.97 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.2905, allocations: 63.89 kB / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.2905, allocations: 0 / 1.089 GB, free: 0.5938 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.163e-05/0.2906, allocations: 43.89 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.2906, allocations: 15.94 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.259e-05/0.2907, allocations: 19.86 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.2908, allocations: 71.72 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2908, allocations: 0 / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2908, allocations: 0 / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2908, allocations: 0 / 1.089 GB, free: 456 kB / 0.8419 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.0003168/0.2911, allocations: 367.3 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2912, allocations: 8.031 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.2912, allocations: 8.891 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2913, allocations: 172.3 kB / 1.089 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2914, allocations: 8.344 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.2914, allocations: 384 / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.2916, allocations: 184.5 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2916, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.2916, allocations: 8 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.2917, allocations: 19.98 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.961e-05/0.2918, allocations: 39.84 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.2924, allocations: 0.8985 MB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.581e-05/0.2925, allocations: 173.4 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.2925, allocations: 80.14 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.2925, allocations: 79.31 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.2926, allocations: 113.8 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2926, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.44e-05/0.2927, allocations: 33.66 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001729/0.2929, allocations: 399.6 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.293, allocations: 164.5 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.293, allocations: 33.7 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.2931, allocations: 155.5 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.2931, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.2932, allocations: 57.66 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2933, allocations: 326.8 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.2933, allocations: 27.92 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.2935, allocations: 218.5 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.2937, allocations: 193.8 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2937, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002753/0.294, allocations: 189.7 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.2941, allocations: 12.12 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.2941, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.2941, allocations: 11.94 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.2942, allocations: 36.02 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.2943, allocations: 19.86 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.612e-05/0.2944, allocations: 27.84 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.2944, allocations: 8 kB / 1.093 GB, free: 11.95 MB / 0.8575 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.0001349/0.2945, allocations: 217 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.2946, allocations: 112.9 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.2947, allocations: 116.8 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.187e-05/0.2947, allocations: 188.2 kB / 1.093 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-05/0.2948, allocations: 180.2 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-05/0.2949, allocations: 176.3 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.2951, allocations: 429.2 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.725e-05/0.2952, allocations: 106.4 kB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.2952, allocations: 105 kB / 1.094 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-05/0.2953, allocations: 184.2 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.056e-05/0.2954, allocations: 176.3 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.987e-05/0.2954, allocations: 188.1 kB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.784e-05/0.2955, allocations: 180.3 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.2956, allocations: 315.7 kB / 1.095 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.701e-05/0.2957, allocations: 186 kB / 1.096 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-05/0.2958, allocations: 188.2 kB / 1.096 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.2959, allocations: 109.2 kB / 1.096 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.452e-05/0.296, allocations: 180.3 kB / 1.096 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.296, allocations: 108.9 kB / 1.096 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.262e-05/0.2961, allocations: 114.1 kB / 1.096 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2961, allocations: 0 / 1.096 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002906/0.2964, allocations: 28 kB / 1.096 GB, free: 8.211 MB / 0.8575 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.0002222/0.2966, allocations: 191 kB / 1.096 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000165/0.2968, allocations: 83.77 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2968, allocations: 0 / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.2968, allocations: 0 / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.2972, allocations: 472.9 kB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.2975, allocations: 234 kB / 1.097 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.2978, allocations: 0.6929 MB / 1.098 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002021/0.298, allocations: 52.59 kB / 1.098 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.2981, allocations: 15.44 kB / 1.098 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.2981, allocations: 0 / 1.098 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of Templates: time 0.003904/0.302, allocations: 1.687 MB / 1.1 GB, free: 4.777 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches