Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001168/0.001167, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001203/0.001203, allocations: 198.8 kB / 16.91 MB, free: 6.195 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.368/2.368, allocations: 437 MB / 0.7107 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 60.81 kB / 0.8694 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.31, allocations: 151.6 MB / 1.017 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001806/0.3118, allocations: 0.6706 MB / 1.018 GB, free: 10.3 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003058/0.3122, allocations: 71.78 kB / 1.018 GB, free: 10.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.3122, allocations: 0 / 1.018 GB, free: 10.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.3122, allocations: 3.984 kB / 1.018 GB, free: 10.22 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.002e-05/0.3123, allocations: 4 kB / 1.018 GB, free: 10.22 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.3126, allocations: 39.95 kB / 1.018 GB, free: 10.18 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.3127, allocations: 27.91 kB / 1.018 GB, free: 10.15 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.3128, allocations: 11.98 kB / 1.018 GB, free: 10.14 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.897e-05/0.3128, allocations: 12 kB / 1.018 GB, free: 10.13 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.313, allocations: 71.86 kB / 1.018 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.313, allocations: 4 kB / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.3131, allocations: 35.95 kB / 1.018 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.3132, allocations: 19.92 kB / 1.018 GB, free: 10 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.3132, allocations: 23.86 kB / 1.018 GB, free: 9.977 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.614e-05/0.3133, allocations: 39.94 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.3133, allocations: 4 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3133, allocations: 0 / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3133, allocations: 4 kB / 1.018 GB, free: 9.93 MB / 0.795 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.0003831/0.3137, allocations: 359.7 kB / 1.019 GB, free: 9.527 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3138, allocations: 11.97 kB / 1.019 GB, free: 9.516 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.3138, allocations: 8.844 kB / 1.019 GB, free: 9.508 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.3139, allocations: 160.4 kB / 1.019 GB, free: 9.312 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.314, allocations: 8.359 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.314, allocations: 4.359 kB / 1.019 GB, free: 9.301 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.3143, allocations: 185.5 kB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.3143, allocations: 0 / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3143, allocations: 4 kB / 1.019 GB, free: 9.094 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-05/0.3144, allocations: 27.91 kB / 1.019 GB, free: 9.066 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.752e-05/0.3144, allocations: 39.86 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007054/0.3152, allocations: 0.91 MB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.413e-05/0.3152, allocations: 165.1 kB / 1.02 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.3153, allocations: 84.14 kB / 1.02 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.3153, allocations: 79.27 kB / 1.02 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.3154, allocations: 113.8 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.3154, allocations: 3.938 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.859e-05/0.3155, allocations: 41.53 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.3156, allocations: 387.7 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.3158, allocations: 161.8 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3158, allocations: 29.69 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.3159, allocations: 155 kB / 1.021 GB, free: 6.727 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-06/0.3159, allocations: 4 kB / 1.021 GB, free: 6.723 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.335e-05/0.316, allocations: 49.7 kB / 1.021 GB, free: 6.668 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3161, allocations: 326.8 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.546e-05/0.3162, allocations: 23.98 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.3164, allocations: 225 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.3166, allocations: 201.8 kB / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3166, allocations: 0 / 1.022 GB, free: 5.742 MB / 0.795 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000285/0.3169, allocations: 197.5 kB / 1.022 GB, free: 5.543 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3169, allocations: 8 kB / 1.022 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3169, allocations: 4 kB / 1.022 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3169, allocations: 11.94 kB / 1.022 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.317, allocations: 39.92 kB / 1.022 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.3171, allocations: 8 kB / 1.022 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.3171, allocations: 27.69 kB / 1.022 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3172, allocations: 12 kB / 1.022 GB, free: 5.434 MB / 0.795 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.0001313/0.3173, allocations: 214.8 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-05/0.3174, allocations: 116.8 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.3175, allocations: 112.8 kB / 1.023 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/0.3175, allocations: 180.2 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001136/0.3176, allocations: 192.2 kB / 1.023 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/0.3178, allocations: 177.8 kB / 1.023 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.318, allocations: 429.1 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.318, allocations: 101 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.318, allocations: 105 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.963e-05/0.3181, allocations: 180.2 kB / 1.024 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.3182, allocations: 180.3 kB / 1.024 GB, free: 3.359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.994e-05/0.3182, allocations: 192.1 kB / 1.024 GB, free: 3.164 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.331e-05/0.3183, allocations: 176.3 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.3185, allocations: 311.8 kB / 1.025 GB, free: 2.656 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.582e-05/0.3185, allocations: 190 kB / 1.025 GB, free: 2.445 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.3186, allocations: 188.1 kB / 1.025 GB, free: 2.254 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/0.3187, allocations: 113.2 kB / 1.025 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.3188, allocations: 180.2 kB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.3188, allocations: 109 kB / 1.026 GB, free: 1.84 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.283e-05/0.3189, allocations: 116.5 kB / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3189, allocations: 0 / 1.026 GB, free: 1.727 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002997/0.3192, allocations: 32 kB / 1.026 GB, free: 1.695 MB / 0.795 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.0001934/0.3194, allocations: 186.5 kB / 1.026 GB, free: 1.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.3196, allocations: 71.78 kB / 1.026 GB, free: 1.43 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.3196, allocations: 5.312 kB / 1.026 GB, free: 1.426 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.178e-06/0.3196, allocations: 7.938 kB / 1.026 GB, free: 1.418 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.3199, allocations: 473.5 kB / 1.027 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002904/0.3202, allocations: 270.5 kB / 1.027 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.3205, allocations: 0.6929 MB / 1.027 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.3205, allocations: 15.44 kB / 1.027 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3205, allocations: 4 kB / 1.027 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of Templates: time 0.003392/0.3239, allocations: 1.702 MB / 1.029 GB, free: 14.23 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches