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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005262/0.005262, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001153/0.001153, allocations: 190 kB / 16.67 MB, free: 5.977 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.445/2.445, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 68.42 kB / 0.9504 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2796, allocations: 140.4 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001783/0.2815, allocations: 0.596 MB / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003476/0.2818, allocations: 71.84 kB / 1.088 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.2819, allocations: 3.938 kB / 1.088 GB, free: 1.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.2819, allocations: 3.984 kB / 1.088 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.282, allocations: 4 kB / 1.088 GB, free: 1.262 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.2823, allocations: 47.88 kB / 1.088 GB, free: 1.215 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8e-05/0.2824, allocations: 23.98 kB / 1.088 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.2825, allocations: 4 kB / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.058e-05/0.2825, allocations: 23.91 kB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.2827, allocations: 55.95 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.2828, allocations: 4 kB / 1.088 GB, free: 1.105 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.2829, allocations: 39.89 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.283, allocations: 19.92 kB / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.283, allocations: 23.86 kB / 1.088 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.2831, allocations: 67.8 kB / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2832, allocations: 0 / 1.088 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2832, allocations: 4 kB / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2832, allocations: 0 / 1.088 GB, free: 0.9531 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.0003972/0.2836, allocations: 358.3 kB / 1.089 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2836, allocations: 8.031 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.2837, allocations: 46.72 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.2837, allocations: 4.938 kB / 1.089 GB, free: 500 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.2838, allocations: 169.1 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2838, allocations: 4.375 kB / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.2839, allocations: 384 / 1.089 GB, free: 288 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.2841, allocations: 183.3 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2842, allocations: 3.938 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.2842, allocations: 4 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.2842, allocations: 19.98 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.07e-05/0.2843, allocations: 43.84 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.285, allocations: 0.9061 MB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.2851, allocations: 169.5 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.2852, allocations: 84.17 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.2853, allocations: 79.22 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.2853, allocations: 113.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 2.535e-06/0.2853, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.667e-05/0.2854, allocations: 37.55 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.2856, allocations: 391.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.2857, allocations: 169.6 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2858, allocations: 25.7 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.2859, allocations: 151.1 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.55e-06/0.2859, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.286, allocations: 53.61 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2861, allocations: 322.8 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.115e-05/0.2861, allocations: 35.91 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.2863, allocations: 210.6 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.2865, allocations: 201.7 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2865, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002995/0.2868, allocations: 189.4 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2869, allocations: 8 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2869, allocations: 4 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.2869, allocations: 11.94 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.287, allocations: 39.92 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.287, allocations: 15.92 kB / 1.092 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.2871, allocations: 24.12 kB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.2872, allocations: 20 kB / 1.092 GB, free: 12.42 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.0001427/0.2873, allocations: 213 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/0.2874, allocations: 108.9 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.2875, allocations: 120.7 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.185e-05/0.2876, allocations: 176.3 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.731e-05/0.2876, allocations: 184.2 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.425e-05/0.2877, allocations: 184.2 kB / 1.093 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.288, allocations: 421.2 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.487e-05/0.288, allocations: 110.3 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.2881, allocations: 105 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.801e-05/0.2881, allocations: 180.3 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-05/0.2882, allocations: 192.1 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.834e-05/0.2883, allocations: 176.3 kB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-05/0.2884, allocations: 180.2 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.2886, allocations: 311.7 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.2887, allocations: 194 kB / 1.095 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.2888, allocations: 184.1 kB / 1.095 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.497e-05/0.2889, allocations: 125.1 kB / 1.095 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.289, allocations: 176.3 kB / 1.096 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.289, allocations: 105 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.84e-05/0.2891, allocations: 117.8 kB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2891, allocations: 0 / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003585/0.2895, allocations: 32 kB / 1.096 GB, free: 8.676 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.0005239/0.29, allocations: 0.8287 MB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.2902, allocations: 76.34 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2902, allocations: 0 / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/0.2902, allocations: 7.938 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.2906, allocations: 469.8 kB / 1.097 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.2912, allocations: 279.2 kB / 1.097 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.2915, allocations: 0.6929 MB / 1.098 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002071/0.2917, allocations: 56.59 kB / 1.098 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.2918, allocations: 23.44 kB / 1.098 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2918, allocations: 0 / 1.098 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.3128, allocations: 2.921 MB / 1.101 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.352/7.664, allocations: 7.984 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/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