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.001336/0.001336, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001506/0.001506, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.496 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.432/2.432, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6543/0.6558, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002711/0.6585, allocations: 0.6646 MB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004362/0.659, allocations: 71.78 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.972e-05/0.6591, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.941e-05/0.6591, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.6592, allocations: 11.92 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.6596, allocations: 43.95 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.27e-05/0.6597, allocations: 23.97 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.842e-05/0.6598, allocations: 7.938 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.6599, allocations: 11.98 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.6602, allocations: 83.84 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.6602, allocations: 0 / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.6603, allocations: 35.97 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.6604, allocations: 15.98 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.6605, allocations: 19.81 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.6606, allocations: 71.78 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6607, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6607, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.6607, allocations: 0 / 1.018 GB, free: 1.621 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.0004702/0.6612, allocations: 373.6 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.6612, allocations: 12.03 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.935e-05/0.6613, allocations: 34.75 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.6614, allocations: 8.844 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.6615, allocations: 180.2 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.6615, allocations: 4.359 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.6615, allocations: 384 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.6619, allocations: 176 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.6619, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.6619, allocations: 11.98 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.307e-05/0.662, allocations: 23.97 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.6621, allocations: 39.84 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009399/0.6631, allocations: 0.8984 MB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.6632, allocations: 173.1 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/0.6632, allocations: 80.14 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.6633, allocations: 79.28 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/0.6634, allocations: 117.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.6634, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 0.0001216/0.6635, allocations: 29.7 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002755/0.6638, allocations: 391.7 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.664, allocations: 172.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.6641, allocations: 33.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.6642, allocations: 147.1 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-06/0.6642, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.6643, allocations: 57.61 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6645, allocations: 326.8 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.6646, allocations: 27.97 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.6648, allocations: 223 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.6651, allocations: 197.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.6651, allocations: 11.94 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004414/0.6656, allocations: 185.6 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6656, allocations: 12.12 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.6656, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.6657, allocations: 11.94 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.6659, allocations: 35.92 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.6659, allocations: 11.94 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.6661, allocations: 27.75 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.6661, allocations: 8 kB / 1.022 GB, free: 13.07 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.0001817/0.6663, allocations: 217 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.6664, allocations: 116.9 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.6665, allocations: 124.8 kB / 1.022 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.53e-05/0.6665, allocations: 184.2 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.931e-05/0.6666, allocations: 180.2 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.331e-05/0.6667, allocations: 176.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.6671, allocations: 425.2 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.528e-05/0.6671, allocations: 104.9 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.6672, allocations: 101 kB / 1.023 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.337e-05/0.6673, allocations: 184.2 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/0.6674, allocations: 184.2 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.824e-05/0.6675, allocations: 184.3 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.471e-05/0.6676, allocations: 184.2 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.6678, allocations: 307.7 kB / 1.024 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.6679, allocations: 190.1 kB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.668, allocations: 188.1 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.6681, allocations: 105 kB / 1.025 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.05e-05/0.6682, allocations: 180.3 kB / 1.025 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.6683, allocations: 108.9 kB / 1.025 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001081/0.6684, allocations: 117.3 kB / 1.025 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6684, allocations: 0 / 1.025 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004672/0.6689, allocations: 28 kB / 1.025 GB, free: 9.336 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.0006364/0.6695, allocations: 0.832 MB / 1.026 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.6698, allocations: 77.06 kB / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6698, allocations: 320 / 1.026 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.6698, allocations: 4 kB / 1.026 GB, free: 8.395 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.6703, allocations: 467.6 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.671, allocations: 290.4 kB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.6714, allocations: 0.6929 MB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002322/0.6717, allocations: 56.59 kB / 1.028 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.6717, allocations: 27.42 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6717, allocations: 0 / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.6857, allocations: 2.953 MB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.686, allocations: 199.6 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.281, allocations: 3.938 kB / 1.031 GB, free: 3.754 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.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