Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007432/0.007433, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001504/0.001504, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 64.47 kB / 0.9509 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2835, allocations: 140.4 MB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001591/0.2851, allocations: 0.5987 MB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003488/0.2855, allocations: 75.84 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.2855, allocations: 0 / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.2855, allocations: 7.922 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.2856, allocations: 4 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.2859, allocations: 39.94 kB / 1.089 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.669e-05/0.286, allocations: 23.92 kB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.286, allocations: 4 kB / 1.089 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.2861, allocations: 19.97 kB / 1.089 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.2863, allocations: 67.89 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.2863, allocations: 0 / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.852e-05/0.2864, allocations: 35.95 kB / 1.089 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.678e-05/0.2864, allocations: 19.92 kB / 1.089 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.2865, allocations: 23.86 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.2866, allocations: 63.8 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2866, allocations: 0 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2866, allocations: 0 / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2866, allocations: 0 / 1.089 GB, free: 476 kB / 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.0003285/0.287, allocations: 371.4 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.287, allocations: 12.03 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.287, allocations: 8.844 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.2872, allocations: 164.3 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2872, allocations: 4.375 kB / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.2872, allocations: 384 / 1.089 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.2874, allocations: 183.4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.2875, allocations: 4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.2875, allocations: 4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-05/0.2875, allocations: 19.92 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.2876, allocations: 39.91 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006103/0.2882, allocations: 0.91 MB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.2883, allocations: 165.5 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.2883, allocations: 80.14 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.2883, allocations: 79.31 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.2884, allocations: 117.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.693e-06/0.2884, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.025e-05/0.2885, allocations: 41.53 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.2886, allocations: 387.7 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.2888, allocations: 160.4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2888, allocations: 25.7 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.2889, allocations: 159 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/0.2889, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.2889, allocations: 53.61 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.2891, allocations: 326.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.2891, allocations: 23.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.2893, allocations: 225 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.2894, allocations: 201.7 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2894, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002715/0.2897, allocations: 185.8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.2897, allocations: 11.98 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2898, allocations: 8.062 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2898, allocations: 11.94 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2899, allocations: 39.92 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2899, allocations: 8 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.1e-05/0.29, allocations: 23.69 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.29, allocations: 16 kB / 1.093 GB, free: 11.97 MB / 0.8575 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.0001088/0.2901, allocations: 213 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.2902, allocations: 120.8 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.513e-05/0.2903, allocations: 116.8 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-05/0.2903, allocations: 188.2 kB / 1.093 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.467e-05/0.2904, allocations: 184.2 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.742e-05/0.2905, allocations: 176.3 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.2907, allocations: 429.1 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/0.2907, allocations: 106.4 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.2908, allocations: 104.9 kB / 1.094 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.918e-05/0.2908, allocations: 180.3 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.538e-05/0.2909, allocations: 180.3 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.602e-05/0.2909, allocations: 188.1 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-05/0.291, allocations: 180.3 kB / 1.095 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.2911, allocations: 311.7 kB / 1.095 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.2912, allocations: 190 kB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.2913, allocations: 180.2 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.2914, allocations: 113.2 kB / 1.096 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.2914, allocations: 184.2 kB / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.2915, allocations: 105 kB / 1.096 GB, free: 8.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.877e-05/0.2915, allocations: 115.2 kB / 1.096 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2915, allocations: 0 / 1.096 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002962/0.2918, allocations: 28 kB / 1.096 GB, free: 8.23 MB / 0.8575 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.0001803/0.292, allocations: 183 kB / 1.096 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.2922, allocations: 79.83 kB / 1.097 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2922, allocations: 7.938 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.2922, allocations: 0 / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2925, allocations: 469 kB / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002672/0.2928, allocations: 238.2 kB / 1.097 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.2931, allocations: 0.689 MB / 1.098 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.2933, allocations: 56.59 kB / 1.098 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.2933, allocations: 11.44 kB / 1.098 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.2933, allocations: 4 kB / 1.098 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of Templates: time 0.00378/0.2971, allocations: 1.675 MB / 1.1 GB, free: 4.809 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches