Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001609/0.001609, allocations: 111.5 kB / 15.99 MB, free: 6.344 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.001567/0.001567, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.422/1.422, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.689/2.689, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 63.64 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3085, allocations: 159.2 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002141/0.3107, allocations: 0.6618 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.311, allocations: 71.84 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.311, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.3111, allocations: 4 kB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.3112, allocations: 11.92 kB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.3115, allocations: 35.95 kB / 1.065 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.442e-05/0.3116, allocations: 27.92 kB / 1.065 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.3116, allocations: 3.984 kB / 1.065 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.3117, allocations: 11.98 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.3119, allocations: 75.86 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3119, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.312, allocations: 39.97 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.3121, allocations: 23.91 kB / 1.065 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.3121, allocations: 19.86 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3122, allocations: 43.94 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3122, allocations: 3.938 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3123, allocations: 0 / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3123, allocations: 0 / 1.065 GB, free: 14.07 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.0004421/0.3127, allocations: 363.8 kB / 1.066 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3128, allocations: 8.031 kB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.3128, allocations: 8.844 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.3129, allocations: 172.3 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.313, allocations: 4.359 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.313, allocations: 4.375 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002833/0.3133, allocations: 183.4 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3133, allocations: 4 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3133, allocations: 4 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.558e-05/0.3134, allocations: 19.98 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.827e-05/0.3135, allocations: 35.91 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008374/0.3143, allocations: 0.91 MB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3144, allocations: 177.1 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.3145, allocations: 84.08 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.3145, allocations: 75.28 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.042e-05/0.3146, allocations: 109.8 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3146, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.68e-05/0.3147, allocations: 41.61 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002405/0.315, allocations: 387.7 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.3152, allocations: 167.7 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3152, allocations: 25.7 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3153, allocations: 151.1 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.3153, allocations: 8 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.223e-05/0.3154, allocations: 57.55 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3156, allocations: 326.8 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.3156, allocations: 23.98 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.3159, allocations: 216.3 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.3161, allocations: 197.7 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.3161, allocations: 4 kB / 1.069 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003276/0.3164, allocations: 189.2 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3165, allocations: 4 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.3165, allocations: 8.656 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.3165, allocations: 11.94 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.3166, allocations: 39.92 kB / 1.069 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.3167, allocations: 11.92 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.483e-05/0.3168, allocations: 31.69 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.3168, allocations: 12 kB / 1.069 GB, free: 9.57 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.0001531/0.3169, allocations: 209.1 kB / 1.069 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.49e-05/0.317, allocations: 120.8 kB / 1.069 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.481e-05/0.3171, allocations: 120.8 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.9e-05/0.3172, allocations: 184.2 kB / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.277e-05/0.3173, allocations: 180.3 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.675e-05/0.3174, allocations: 180.2 kB / 1.07 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.3177, allocations: 417.2 kB / 1.07 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.004e-05/0.3178, allocations: 108.9 kB / 1.071 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.3178, allocations: 109 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.142e-05/0.3179, allocations: 176.3 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.406e-05/0.318, allocations: 184.2 kB / 1.071 GB, free: 7.488 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.826e-05/0.3181, allocations: 184.1 kB / 1.071 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.052e-05/0.3182, allocations: 188.2 kB / 1.071 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.3184, allocations: 315.7 kB / 1.072 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.3185, allocations: 182 kB / 1.072 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3187, allocations: 188.2 kB / 1.072 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.3188, allocations: 113.1 kB / 1.072 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.3189, allocations: 180.3 kB / 1.072 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.3189, allocations: 113 kB / 1.072 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.306e-05/0.319, allocations: 117.9 kB / 1.072 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.319, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003238/0.3194, allocations: 24 kB / 1.073 GB, free: 5.828 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.0002408/0.3196, allocations: 186.5 kB / 1.073 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.3198, allocations: 80.28 kB / 1.073 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3198, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.873e-06/0.3198, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3202, allocations: 471.6 kB / 1.073 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.3206, allocations: 279.2 kB / 1.073 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.3209, allocations: 0.6929 MB / 1.074 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.274e-05/0.321, allocations: 15.44 kB / 1.074 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.321, allocations: 0 / 1.074 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of Templates: time 0.003808/0.3248, allocations: 1.704 MB / 1.076 GB, free: 2.367 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches