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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001559/0.001559, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00187/0.00187, allocations: 191 kB / 16.14 MB, free: 6.711 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.91 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5633/0.5648, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00184/0.5667, allocations: 0.6684 MB / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003361/0.5671, allocations: 75.84 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.5671, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.5672, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.5672, allocations: 11.92 kB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.5675, allocations: 31.97 kB / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.982e-05/0.5675, allocations: 27.97 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.5676, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.5676, allocations: 19.97 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.5678, allocations: 67.88 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.5678, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.825e-05/0.568, allocations: 39.89 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.568, allocations: 27.91 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.568, allocations: 15.88 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.5682, allocations: 67.8 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5682, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5682, allocations: 7.984 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.5682, allocations: 0 / 1.018 GB, free: 1.719 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.0003027/0.5685, allocations: 361.8 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.5685, allocations: 8.031 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.5686, allocations: 42.73 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.5686, allocations: 8.844 kB / 1.018 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.033e-05/0.5687, allocations: 168.3 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.5687, allocations: 8.312 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.5687, allocations: 384 / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.569, allocations: 186.1 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.569, allocations: 3.938 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.569, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.5691, allocations: 23.98 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.441e-05/0.5691, allocations: 39.91 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.5697, allocations: 0.9061 MB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.484e-05/0.5698, allocations: 169.1 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.5698, allocations: 80.14 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.5699, allocations: 79.27 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.5699, allocations: 117.8 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.5699, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.83e-05/0.57, allocations: 37.61 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.5702, allocations: 391.7 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.5703, allocations: 161.7 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.5703, allocations: 33.7 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.5704, allocations: 147 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.5704, allocations: 4 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/0.5705, allocations: 49.7 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.153e-05/0.5706, allocations: 326.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.5706, allocations: 27.98 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.5708, allocations: 221.5 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.571, allocations: 213.7 kB / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.571, allocations: 0 / 1.021 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002835/0.5713, allocations: 189.2 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.5713, allocations: 8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.5713, allocations: 7.984 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.5713, allocations: 11.94 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5715, allocations: 35.92 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5715, allocations: 11.94 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/0.5716, allocations: 28.28 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.5716, allocations: 12 kB / 1.022 GB, free: 13.17 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.00011/0.5717, allocations: 217 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.467e-05/0.5718, allocations: 108.9 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.5718, allocations: 116.8 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.593e-05/0.5719, allocations: 180.2 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.993e-05/0.5719, allocations: 184.3 kB / 1.022 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.644e-05/0.572, allocations: 184.2 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.5722, allocations: 417.2 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.147e-05/0.5722, allocations: 105.1 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.5723, allocations: 112.9 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.137e-05/0.5723, allocations: 176.3 kB / 1.023 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.5724, allocations: 192.1 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.212e-05/0.5724, allocations: 184.2 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.967e-05/0.5725, allocations: 180.2 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.5726, allocations: 307.7 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.911e-05/0.5727, allocations: 190 kB / 1.024 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.5728, allocations: 192.2 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.5729, allocations: 104.9 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.5729, allocations: 180.3 kB / 1.025 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.573, allocations: 104.9 kB / 1.025 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.279e-05/0.573, allocations: 111.2 kB / 1.025 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.573, allocations: 7.938 kB / 1.025 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003195/0.5734, allocations: 31.98 kB / 1.025 GB, free: 9.438 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.0004308/0.5738, allocations: 0.8242 MB / 1.026 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001486/0.574, allocations: 80.42 kB / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.574, allocations: 0 / 1.026 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.574, allocations: 3.938 kB / 1.026 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.5743, allocations: 0.5312 MB / 1.027 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.5748, allocations: 292.4 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.5751, allocations: 0.6893 MB / 1.027 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.5753, allocations: 56.58 kB / 1.028 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.5754, allocations: 19.44 kB / 1.028 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.5754, allocations: 0 / 1.028 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.5877, allocations: 2.887 MB / 1.03 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.5879, allocations: 207.4 kB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.278, allocations: 0 / 1.031 GB, free: 3.836 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