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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001342/0.001342, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001607/0.001607, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.395/1.395, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 69.16 kB / 0.9116 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.316, allocations: 159.9 MB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001839/0.3179, allocations: 0.6631 MB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003016/0.3182, allocations: 75.84 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.832e-05/0.3182, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.3183, allocations: 0 / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.3183, allocations: 11.92 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.3186, allocations: 39.95 kB / 1.069 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.545e-05/0.3187, allocations: 23.98 kB / 1.069 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.3188, allocations: 4 kB / 1.069 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.535e-05/0.3188, allocations: 15.97 kB / 1.069 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.319, allocations: 75.86 kB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.319, allocations: 0 / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3191, allocations: 43.91 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.3192, allocations: 23.91 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.3192, allocations: 19.88 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.3194, allocations: 67.78 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3194, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3194, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.3194, allocations: 4 kB / 1.069 GB, free: 9.684 MB / 0.8262 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.0003498/0.3198, allocations: 363.7 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3198, allocations: 12.03 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3198, allocations: 4.938 kB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.41e-05/0.3199, allocations: 160.4 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3199, allocations: 4.312 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.32, allocations: 8.375 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.3202, allocations: 183.4 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3202, allocations: 3.938 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3202, allocations: 3.938 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.3203, allocations: 23.98 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/0.3204, allocations: 39.91 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.321, allocations: 0.9061 MB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.3211, allocations: 177.1 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.677e-05/0.3211, allocations: 80.14 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.3212, allocations: 75.28 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.3212, allocations: 113.8 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3212, allocations: 4 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.471e-05/0.3213, allocations: 39.78 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.3215, allocations: 387.7 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3216, allocations: 165.7 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.3216, allocations: 29.7 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.863e-05/0.3217, allocations: 147.1 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.3217, allocations: 4 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.601e-05/0.3218, allocations: 53.61 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3219, allocations: 330.7 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.133e-05/0.322, allocations: 23.98 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001789/0.3222, allocations: 223.6 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.3224, allocations: 205.7 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3224, allocations: 0 / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002772/0.3226, allocations: 193.2 kB / 1.073 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3227, allocations: 4 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3227, allocations: 8 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3227, allocations: 7.938 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3228, allocations: 39.92 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3228, allocations: 8.578 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.3229, allocations: 35.72 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.323, allocations: 12 kB / 1.073 GB, free: 5.184 MB / 0.8262 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.0001106/0.3231, allocations: 209 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.3231, allocations: 112.9 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.3232, allocations: 112.6 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-05/0.3233, allocations: 188.1 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.443e-05/0.3233, allocations: 184.3 kB / 1.073 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.817e-05/0.3234, allocations: 188.2 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.3236, allocations: 417.2 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-05/0.3236, allocations: 105 kB / 1.074 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.3237, allocations: 108.9 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.197e-05/0.3238, allocations: 180.3 kB / 1.074 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.3238, allocations: 180.2 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.708e-05/0.3239, allocations: 180.2 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.396e-05/0.324, allocations: 184.3 kB / 1.075 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.3241, allocations: 315.7 kB / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.3242, allocations: 189.9 kB / 1.075 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.806e-05/0.3243, allocations: 188.2 kB / 1.076 GB, free: 2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.3244, allocations: 113.1 kB / 1.076 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.3244, allocations: 176.3 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.3245, allocations: 105 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.838e-05/0.3245, allocations: 116.8 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3245, allocations: 4 kB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000314/0.3249, allocations: 28 kB / 1.076 GB, free: 1.449 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.0002025/0.3251, allocations: 194.4 kB / 1.076 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.3252, allocations: 72.97 kB / 1.076 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3252, allocations: 4.125 kB / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.3252, allocations: 0 / 1.076 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3256, allocations: 475.5 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.3259, allocations: 252.7 kB / 1.077 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3262, allocations: 0.6929 MB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002102/0.3264, allocations: 56.58 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.3264, allocations: 15.44 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3264, allocations: 0 / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.004306/0.3307, allocations: 1.788 MB / 1.08 GB, free: 13.89 MB / 0.8419 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