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.001014/0.001014, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007942/0.007942, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.793/2.793, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 16.25 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3353, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0008655/0.3362, allocations: 338.8 kB / 1.059 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004418/0.3367, allocations: 67.84 kB / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.3367, allocations: 0 / 1.059 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.3368, allocations: 3.938 kB / 1.059 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.114e-05/0.3368, allocations: 11.98 kB / 1.059 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.3372, allocations: 39.95 kB / 1.059 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.55e-05/0.3372, allocations: 23.91 kB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.3373, allocations: 8 kB / 1.059 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.3374, allocations: 15.92 kB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.3377, allocations: 67.91 kB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.3377, allocations: 0 / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3378, allocations: 35.97 kB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.3379, allocations: 19.92 kB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.882e-05/0.338, allocations: 45.58 kB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3382, allocations: 71.78 kB / 1.059 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3382, allocations: 3.938 kB / 1.059 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3382, allocations: 0 / 1.059 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.3382, allocations: 0 / 1.059 GB, free: 4.727 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.3386, allocations: 357.1 kB / 1.06 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3387, allocations: 8.031 kB / 1.06 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.3387, allocations: 8.844 kB / 1.06 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3389, allocations: 168.3 kB / 1.06 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.3389, allocations: 4.375 kB / 1.06 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3389, allocations: 4.375 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.3392, allocations: 175.4 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3392, allocations: 0 / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.3392, allocations: 8 kB / 1.06 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.3393, allocations: 23.97 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.686e-05/0.3394, allocations: 43.84 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.3402, allocations: 0.9023 MB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.51e-05/0.3403, allocations: 177.1 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.3403, allocations: 80.14 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.3404, allocations: 75.28 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/0.3404, allocations: 109.8 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 5.07e-06/0.3404, allocations: 4 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 0.0001191/0.3406, allocations: 41.53 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003683/0.3409, allocations: 395.7 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.3412, allocations: 167.7 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3412, allocations: 25.7 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.3413, allocations: 151.1 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.48e-06/0.3414, allocations: 0 / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/0.3414, allocations: 29.7 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3416, allocations: 318.8 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3417, allocations: 27.97 kB / 1.063 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.3419, allocations: 224 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.3422, allocations: 197.8 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3422, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003734/0.3426, allocations: 189.3 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3426, allocations: 4 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3426, allocations: 8 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3427, allocations: 4 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3428, allocations: 43.86 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.3428, allocations: 12.48 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3429, allocations: 31.69 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.343, allocations: 16 kB / 1.063 GB, free: 280 kB / 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.0001434/0.3431, allocations: 209.1 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.3432, allocations: 120.8 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.507e-05/0.3433, allocations: 112.8 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.617e-05/0.3434, allocations: 184.2 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.488e-05/0.3435, allocations: 188.2 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.482e-05/0.3435, allocations: 180.3 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.3438, allocations: 421.2 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/0.3439, allocations: 105 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.3439, allocations: 109 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.976e-05/0.344, allocations: 180.2 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.317e-05/0.3441, allocations: 180.3 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.455e-05/0.3442, allocations: 188.1 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.454e-05/0.3443, allocations: 180.3 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.3444, allocations: 311.9 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3446, allocations: 194 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.3447, allocations: 184.2 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3448, allocations: 116.8 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.345, allocations: 176.3 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.463e-05/0.345, allocations: 104.9 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001281/0.3451, allocations: 117.1 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3452, allocations: 4 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003924/0.3456, allocations: 32 kB / 1.067 GB, free: 12.53 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.0002183/0.3458, allocations: 182.5 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.3459, allocations: 72.66 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.346, allocations: 448 / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.346, allocations: 4 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.3464, allocations: 0.5378 MB / 1.067 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.3467, allocations: 246.6 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.347, allocations: 0.6932 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.3472, allocations: 52.59 kB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.784e-05/0.3472, allocations: 15.44 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3472, allocations: 0 / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of Templates: time 0.005051/0.3523, allocations: 1.741 MB / 1.07 GB, free: 8.965 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