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.001216/0.001222, allocations: 100.2 kB / 16.35 MB, free: 5.828 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.00127/0.00127, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.56/2.56, allocations: 442.5 MB / 0.7165 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.27 kB / 0.8773 GB, free: 42.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.276, allocations: 153 MB / 1.027 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001709/0.2777, allocations: 0.603 MB / 1.027 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003053/0.2781, allocations: 71.78 kB / 1.027 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.337e-05/0.2781, allocations: 0 / 1.027 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.2781, allocations: 0 / 1.027 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.918e-05/0.2782, allocations: 7.984 kB / 1.027 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.2785, allocations: 43.89 kB / 1.027 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.703e-05/0.2786, allocations: 35.89 kB / 1.027 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.2786, allocations: 4 kB / 1.027 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.2786, allocations: 11.98 kB / 1.027 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.2788, allocations: 55.95 kB / 1.028 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.2789, allocations: 11.92 kB / 1.028 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.279, allocations: 39.89 kB / 1.028 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.279, allocations: 12 kB / 1.028 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/0.2791, allocations: 23.81 kB / 1.028 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.2792, allocations: 63.84 kB / 1.028 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2792, allocations: 4 kB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2792, allocations: 0 / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.2792, allocations: 4 kB / 1.028 GB, free: 6.555 MB / 0.7794 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.0003374/0.2796, allocations: 363.4 kB / 1.028 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.2796, allocations: 8.031 kB / 1.028 GB, free: 6.141 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.2796, allocations: 12.78 kB / 1.028 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.832e-05/0.2797, allocations: 172.2 kB / 1.028 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.2798, allocations: 4.375 kB / 1.028 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.2798, allocations: 384 / 1.028 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.28, allocations: 183.5 kB / 1.028 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.28, allocations: 3.938 kB / 1.028 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.28, allocations: 4 kB / 1.028 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/0.2801, allocations: 19.98 kB / 1.028 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.587e-05/0.2802, allocations: 39.91 kB / 1.028 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.2809, allocations: 0.9061 MB / 1.029 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.657e-05/0.2809, allocations: 169.1 kB / 1.03 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.281, allocations: 84.14 kB / 1.03 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.281, allocations: 79.22 kB / 1.03 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.484e-05/0.2811, allocations: 113.8 kB / 1.03 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.2811, allocations: 0 / 1.03 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.469e-05/0.2812, allocations: 29.7 kB / 1.03 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002487/0.2815, allocations: 400 kB / 1.03 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.2816, allocations: 164.1 kB / 1.03 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2817, allocations: 25.7 kB / 1.03 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.2817, allocations: 155 kB / 1.031 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.377e-06/0.2818, allocations: 0 / 1.031 GB, free: 3.355 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.2818, allocations: 53.7 kB / 1.031 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.282, allocations: 318.8 kB / 1.031 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.282, allocations: 27.92 kB / 1.031 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.2822, allocations: 230.6 kB / 1.031 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.2824, allocations: 201.7 kB / 1.031 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2824, allocations: 0 / 1.031 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002903/0.2827, allocations: 197.5 kB / 1.031 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.2827, allocations: 9.875 kB / 1.032 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2827, allocations: 4 kB / 1.032 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2828, allocations: 7.938 kB / 1.032 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.2829, allocations: 39.92 kB / 1.032 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.2829, allocations: 15.92 kB / 1.032 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.076e-05/0.283, allocations: 27.69 kB / 1.032 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.283, allocations: 12 kB / 1.032 GB, free: 2.055 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.0001286/0.2832, allocations: 225.2 kB / 1.032 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.2832, allocations: 112.8 kB / 1.032 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.2833, allocations: 112.8 kB / 1.032 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.325e-05/0.2834, allocations: 188.2 kB / 1.032 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.834e-05/0.2834, allocations: 180.3 kB / 1.032 GB, free: 1.215 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-05/0.2835, allocations: 184.2 kB / 1.033 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.2837, allocations: 413.3 kB / 1.033 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-05/0.2838, allocations: 116.8 kB / 1.033 GB, free: 456 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.2838, allocations: 101 kB / 1.033 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.454e-05/0.2839, allocations: 180.3 kB / 1.033 GB, free: 160 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.002e-05/0.284, allocations: 180.2 kB / 1.034 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.579e-05/0.284, allocations: 188.2 kB / 1.034 GB, free: 15.78 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-05/0.2841, allocations: 184.2 kB / 1.034 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.2843, allocations: 307.7 kB / 1.034 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-05/0.2843, allocations: 186 kB / 1.034 GB, free: 15.06 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.2844, allocations: 188.2 kB / 1.035 GB, free: 14.87 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.2845, allocations: 113.5 kB / 1.035 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.2846, allocations: 176.3 kB / 1.035 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.2846, allocations: 105 kB / 1.035 GB, free: 14.46 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.018e-05/0.2847, allocations: 116.9 kB / 1.035 GB, free: 14.35 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2847, allocations: 0 / 1.035 GB, free: 14.35 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003036/0.285, allocations: 28 kB / 1.035 GB, free: 14.32 MB / 0.795 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.0001926/0.2852, allocations: 194.5 kB / 1.035 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.2854, allocations: 71.78 kB / 1.035 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2854, allocations: 1.312 kB / 1.035 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.2854, allocations: 4 kB / 1.035 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.2858, allocations: 473.4 kB / 1.036 GB, free: 13.58 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.2861, allocations: 227.1 kB / 1.036 GB, free: 13.33 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.2864, allocations: 0.6929 MB / 1.037 GB, free: 12.61 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001627/0.2866, allocations: 60.58 kB / 1.037 GB, free: 12.55 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.2866, allocations: 15.38 kB / 1.037 GB, free: 12.54 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.2866, allocations: 0 / 1.037 GB, free: 12.54 MB / 0.795 GB Notification: Performance of Templates: time 0.004007/0.2906, allocations: 1.658 MB / 1.038 GB, free: 10.91 MB / 0.795 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 -s gbode -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