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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_10_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.001147/0.001147, allocations: 108 kB / 15.6 MB, free: 128 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.001197/0.001197, allocations: 197.9 kB / 16.53 MB, free: 6.395 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.273 MB / 190.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.569/2.569, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001369, allocations: 63.89 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5373, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001757/0.5391, allocations: 0.592 MB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003095/0.5395, allocations: 75.84 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.5395, allocations: 3.938 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.5396, allocations: 3.984 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.5396, allocations: 7.938 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.5399, allocations: 47.94 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.131e-05/0.54, allocations: 19.92 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.54, allocations: 4 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.295e-05/0.54, allocations: 15.97 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.5402, allocations: 67.89 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.5402, allocations: 0 / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.5404, allocations: 35.95 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.221e-05/0.5404, allocations: 16 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.5404, allocations: 27.78 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.5406, allocations: 67.8 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5406, allocations: 0 / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5406, allocations: 0 / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.5406, allocations: 3.938 kB / 1.018 GB, free: 1.488 MB / 0.7637 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.0003101/0.5409, allocations: 363.4 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.541, allocations: 12.03 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.541, allocations: 46.72 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.5411, allocations: 8.844 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.47e-05/0.5411, allocations: 168.3 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.5412, allocations: 4.375 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.5412, allocations: 384 / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.5414, allocations: 189.8 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.5414, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.5415, allocations: 4 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.5415, allocations: 23.98 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.836e-05/0.5416, allocations: 39.84 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.5422, allocations: 0.9023 MB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.5423, allocations: 173.1 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.5423, allocations: 80.14 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.5423, allocations: 79.28 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.5424, allocations: 113.8 kB / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.5424, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.878e-05/0.5425, allocations: 33.64 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.5426, allocations: 387.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.5428, allocations: 165.6 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.5428, allocations: 37.7 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.5429, allocations: 143.2 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-06/0.5429, allocations: 3.984 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.543, allocations: 53.61 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.5431, allocations: 322.8 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.5431, allocations: 27.97 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.5433, allocations: 229.5 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.5435, allocations: 197.8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5435, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002903/0.5438, allocations: 193.6 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5438, allocations: 13.84 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.5438, allocations: 7.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5438, allocations: 11.94 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.544, allocations: 35.92 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.544, allocations: 8 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.921e-05/0.5441, allocations: 27.75 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.5441, allocations: 8 kB / 1.022 GB, free: 12.95 MB / 0.7794 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.000119/0.5442, allocations: 217.6 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.5443, allocations: 120.9 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.5443, allocations: 116.7 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.64e-05/0.5444, allocations: 176.3 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.469e-05/0.5444, allocations: 188.2 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.802e-05/0.5445, allocations: 180.2 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.5447, allocations: 429.2 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-05/0.5447, allocations: 101 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.804e-05/0.5448, allocations: 101 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.077e-05/0.5448, allocations: 184.2 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.5449, allocations: 188.2 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.036e-05/0.5449, allocations: 180.2 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-05/0.545, allocations: 180.3 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.5451, allocations: 315.7 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.359e-05/0.5452, allocations: 186.1 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/0.5453, allocations: 192.1 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.5454, allocations: 105 kB / 1.025 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.5454, allocations: 188.2 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.5455, allocations: 101 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.006e-05/0.5456, allocations: 111.2 kB / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5456, allocations: 0 / 1.026 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003115/0.5459, allocations: 28 kB / 1.026 GB, free: 9.215 MB / 0.7794 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.0004047/0.5463, allocations: 0.832 MB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.5464, allocations: 72.78 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.5465, allocations: 4.312 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.5465, allocations: 4.344 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.5468, allocations: 463.7 kB / 1.027 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.5473, allocations: 278.4 kB / 1.027 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.5475, allocations: 0.6968 MB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.5477, allocations: 52.61 kB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.5478, allocations: 23.42 kB / 1.028 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of SimCode: time 5.2e-07/0.5478, allocations: 3.938 kB / 1.028 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.5681, allocations: 2.894 MB / 1.031 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.966/7.534, allocations: 3.953 kB / 1.031 GB, free: 3.914 MB / 0.7794 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.csv","/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