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.001496/0.001496, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 197 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.321/2.321, allocations: 390.2 MB / 0.6647 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 71.89 kB / 0.8127 GB, free: 14.4 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5925/0.5941, allocations: 140.4 MB / 0.9497 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001617/0.5957, allocations: 0.6046 MB / 0.9503 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002776/0.596, allocations: 65.66 kB / 0.9504 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.5961, allocations: 1.375 kB / 0.9504 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.5961, allocations: 0 / 0.9504 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.531e-05/0.5961, allocations: 8.125 kB / 0.9504 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.5964, allocations: 49.75 kB / 0.9504 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.985e-05/0.5964, allocations: 28.28 kB / 0.9505 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.5965, allocations: 5.359 kB / 0.9505 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.991e-05/0.5965, allocations: 8.25 kB / 0.9505 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.5967, allocations: 62.19 kB / 0.9505 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.5967, allocations: 1.375 kB / 0.9505 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.78e-05/0.5968, allocations: 48.33 kB / 0.9506 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.5968, allocations: 13.61 kB / 0.9506 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.5969, allocations: 21.38 kB / 0.9506 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.597, allocations: 66.14 kB / 0.9507 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.597, allocations: 0 / 0.9507 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.597, allocations: 1.438 kB / 0.9507 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.597, allocations: 0 / 0.9507 GB, free: 8.488 MB / 0.7169 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.000229/0.5972, allocations: 360.5 kB / 0.951 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.5973, allocations: 9.125 kB / 0.951 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.034e-05/0.5973, allocations: 43.95 kB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.5973, allocations: 12.69 kB / 0.9511 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.198e-05/0.5974, allocations: 169.5 kB / 0.9512 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.5974, allocations: 6.156 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.5974, allocations: 5.391 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.5976, allocations: 178.3 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.5976, allocations: 1.562 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.5976, allocations: 5.516 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.643e-05/0.5977, allocations: 30.92 kB / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.5977, allocations: 36.62 kB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.5981, allocations: 0.9037 MB / 0.9524 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.756e-05/0.5982, allocations: 165.1 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.5982, allocations: 89.64 kB / 0.9526 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.5982, allocations: 75.28 kB / 0.9527 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.5983, allocations: 111.4 kB / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.5983, allocations: 0 / 0.9528 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.547e-05/0.5983, allocations: 35.23 kB / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.5984, allocations: 394.1 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.5985, allocations: 164.4 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.5985, allocations: 27.08 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.5986, allocations: 152.9 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.5986, allocations: 1.25 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.5987, allocations: 60.27 kB / 0.9536 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.939e-05/0.5987, allocations: 325.3 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.5988, allocations: 24.08 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.5989, allocations: 222.9 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.599, allocations: 200 kB / 0.9543 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.599, allocations: 5.312 kB / 0.9543 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002525/0.5993, allocations: 192.1 kB / 0.9545 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5993, allocations: 7.531 kB / 0.9545 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.5993, allocations: 4.094 kB / 0.9545 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.5993, allocations: 10.78 kB / 0.9545 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.5994, allocations: 38.64 kB / 0.9546 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.5994, allocations: 17.98 kB / 0.9546 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.338e-05/0.5995, allocations: 26.62 kB / 0.9546 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.5995, allocations: 14.08 kB / 0.9546 GB, free: 4.492 MB / 0.7169 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 7.279e-05/0.5996, allocations: 215.5 kB / 0.9548 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.5997, allocations: 115.4 kB / 0.955 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.5997, allocations: 120.9 kB / 0.9551 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.5997, allocations: 188.2 kB / 0.9552 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.5997, allocations: 177.5 kB / 0.9554 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.5998, allocations: 181.2 kB / 0.9556 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.5999, allocations: 416.4 kB / 0.956 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.5999, allocations: 109.9 kB / 0.9561 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.108e-05/0.5999, allocations: 102.1 kB / 0.9562 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.77e-05/0.5999, allocations: 181.4 kB / 0.9564 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.6, allocations: 189.4 kB / 0.9565 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.678e-05/0.6, allocations: 176.3 kB / 0.9567 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.852e-05/0.6, allocations: 190.7 kB / 0.9569 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.804e-05/0.6001, allocations: 308.5 kB / 0.9572 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.6001, allocations: 192.8 kB / 0.9574 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.6002, allocations: 186.3 kB / 0.9575 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.043e-05/0.6002, allocations: 107.7 kB / 0.9577 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.6002, allocations: 177.9 kB / 0.9578 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.6003, allocations: 106.3 kB / 0.9579 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.109e-05/0.6003, allocations: 121 kB / 0.958 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6003, allocations: 0 / 0.958 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002971/0.6006, allocations: 30.47 kB / 0.9581 GB, free: 0.8633 MB / 0.7169 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.0002459/0.6009, allocations: 0.8291 MB / 0.9589 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.601, allocations: 74.94 kB / 0.9589 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.601, allocations: 1.625 kB / 0.9589 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.601, allocations: 3.938 kB / 0.959 GB, free: 8 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.6014, allocations: 473.4 kB / 0.9594 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.6018, allocations: 269.2 kB / 0.9597 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.602, allocations: 0.6947 MB / 0.9603 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000188/0.6022, allocations: 56.22 kB / 0.9604 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.6023, allocations: 22.38 kB / 0.9604 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.6023, allocations: 0 / 0.9604 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.6189, allocations: 2.895 MB / 0.9632 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.883, allocations: 5.844 kB / 0.9632 GB, free: 13.06 MB / 0.7325 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