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.001555/0.001556, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001576/0.001576, allocations: 191.3 kB / 17.2 MB, free: 5.594 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.375/1.375, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.52/2.52, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 68.06 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3049, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001916/0.3069, allocations: 0.5972 MB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000352/0.3073, allocations: 67.84 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.3073, allocations: 0 / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.3073, allocations: 3.938 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.3074, allocations: 8 kB / 1.065 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.3078, allocations: 51.88 kB / 1.065 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.399e-05/0.3078, allocations: 19.98 kB / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.3079, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.3079, allocations: 15.97 kB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.3081, allocations: 67.89 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3081, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.3082, allocations: 35.95 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.3083, allocations: 23.92 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.3083, allocations: 23.86 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.3085, allocations: 67.8 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3085, allocations: 0 / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.805e-06/0.3085, allocations: 0 / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.3085, allocations: 7.875 kB / 1.065 GB, free: 14 MB / 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.0003182/0.3088, allocations: 359.8 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3089, allocations: 8.625 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.3089, allocations: 8.844 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.464e-05/0.309, allocations: 168.4 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.309, allocations: 4.375 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.309, allocations: 8.359 kB / 1.066 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.3093, allocations: 179.4 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3093, allocations: 0 / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3093, allocations: 8 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.3094, allocations: 23.92 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.768e-05/0.3094, allocations: 39.91 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.3101, allocations: 0.9061 MB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.149e-05/0.3102, allocations: 169.1 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.3102, allocations: 80.14 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3102, allocations: 75.28 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.3103, allocations: 109.8 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3103, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.05e-05/0.3104, allocations: 45.53 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/0.3105, allocations: 391.7 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3107, allocations: 166.9 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.3107, allocations: 29.7 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.3108, allocations: 151.1 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/0.3108, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.3109, allocations: 57.61 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.311, allocations: 330.8 kB / 1.068 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.162e-05/0.3111, allocations: 23.98 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3112, allocations: 217.7 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.3114, allocations: 205.7 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.3114, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003069/0.3117, allocations: 189.2 kB / 1.069 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3118, allocations: 8 kB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.3118, allocations: 4 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3118, allocations: 11.94 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3119, allocations: 35.92 kB / 1.069 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.3119, allocations: 8.594 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/0.312, allocations: 35.69 kB / 1.069 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.3121, allocations: 8 kB / 1.069 GB, free: 9.52 MB / 0.8419 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.0001221/0.3122, allocations: 213 kB / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/0.3123, allocations: 112.8 kB / 1.069 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.3123, allocations: 121 kB / 1.07 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-05/0.3124, allocations: 188.1 kB / 1.07 GB, free: 8.863 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.416e-05/0.3125, allocations: 184.3 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.041e-05/0.3125, allocations: 176.3 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002185/0.3127, allocations: 425.1 kB / 1.07 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-05/0.3128, allocations: 101 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.3128, allocations: 108.9 kB / 1.071 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-05/0.3129, allocations: 176.3 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.343e-05/0.3129, allocations: 184.3 kB / 1.071 GB, free: 7.438 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.659e-05/0.313, allocations: 192.1 kB / 1.071 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.973e-05/0.3131, allocations: 176.3 kB / 1.071 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.3132, allocations: 307.7 kB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.3133, allocations: 198 kB / 1.072 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.971e-05/0.3133, allocations: 184.2 kB / 1.072 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/0.3134, allocations: 104.9 kB / 1.072 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.3135, allocations: 188.5 kB / 1.072 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.3135, allocations: 104.9 kB / 1.072 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.079e-05/0.3136, allocations: 119.2 kB / 1.073 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3136, allocations: 4 kB / 1.073 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003137/0.3139, allocations: 28 kB / 1.073 GB, free: 5.773 MB / 0.8419 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.0001843/0.3141, allocations: 186.5 kB / 1.073 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.3143, allocations: 73 kB / 1.073 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3143, allocations: 12.06 kB / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.846e-06/0.3143, allocations: 0 / 1.073 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3147, allocations: 471.7 kB / 1.073 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.315, allocations: 262.4 kB / 1.073 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.3152, allocations: 0.6968 MB / 1.074 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.3152, allocations: 15.44 kB / 1.074 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3152, allocations: 0 / 1.074 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of Templates: time 0.003452/0.3187, allocations: 1.71 MB / 1.076 GB, free: 2.32 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/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