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.001147/0.001147, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007387/0.007387, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.419/2.419, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003074, allocations: 12 kB / 0.873 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.5902, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.000643/0.5908, allocations: 341.5 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002914/0.5911, allocations: 79.72 kB / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.637e-05/0.5912, allocations: 0 / 1.024 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.5912, allocations: 4 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.603e-05/0.5912, allocations: 4 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.5915, allocations: 35.95 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.995e-05/0.5915, allocations: 31.84 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.5916, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.237e-05/0.5916, allocations: 7.984 kB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.5918, allocations: 75.86 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.5918, allocations: 0 / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.87e-05/0.5919, allocations: 39.95 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.592, allocations: 16 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.592, allocations: 53.48 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.5921, allocations: 63.8 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.5921, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5921, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.5922, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.7794 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.0002725/0.5924, allocations: 353.8 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.5925, allocations: 8.031 kB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.5925, allocations: 42.69 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.5926, allocations: 16.84 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.713e-05/0.5926, allocations: 168.3 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.5927, allocations: 8.359 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.5927, allocations: 384 / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.5929, allocations: 176 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.5929, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.5929, allocations: 15.97 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/0.593, allocations: 23.92 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.72e-05/0.5931, allocations: 35.91 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.5937, allocations: 0.9061 MB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.364e-05/0.5937, allocations: 165.1 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.006e-05/0.5938, allocations: 84.12 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.5938, allocations: 75.28 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.5938, allocations: 117.8 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.5938, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.211e-05/0.5939, allocations: 33.64 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.5941, allocations: 387.7 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.5942, allocations: 169 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.5943, allocations: 29.7 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.5943, allocations: 147.1 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.5944, allocations: 11.98 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.5944, allocations: 21.72 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.5945, allocations: 322.8 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.756e-05/0.5945, allocations: 23.98 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.5947, allocations: 223 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.5949, allocations: 205.8 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5949, allocations: 7.875 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002862/0.5952, allocations: 193.1 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5952, allocations: 8 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.5952, allocations: 4.656 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5952, allocations: 7.938 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.5954, allocations: 43.92 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.5954, allocations: 7.984 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.758e-05/0.5955, allocations: 27.75 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.5955, allocations: 16 kB / 1.028 GB, free: 10.59 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.0001136/0.5956, allocations: 209 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.5957, allocations: 116.8 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.5957, allocations: 116.8 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.105e-05/0.5958, allocations: 188.2 kB / 1.028 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-05/0.5959, allocations: 180.2 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-05/0.5959, allocations: 180.3 kB / 1.029 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.5961, allocations: 421.1 kB / 1.029 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/0.5962, allocations: 105 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.5962, allocations: 108.9 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.156e-05/0.5963, allocations: 176.3 kB / 1.03 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.5963, allocations: 180.3 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.354e-05/0.5964, allocations: 188.1 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-05/0.5964, allocations: 184.2 kB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.5966, allocations: 315.7 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.5966, allocations: 182 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.973e-05/0.5967, allocations: 192.2 kB / 1.031 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.5968, allocations: 108.9 kB / 1.031 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.5969, allocations: 184.2 kB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.5969, allocations: 105 kB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.059e-05/0.597, allocations: 117.7 kB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.597, allocations: 0 / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002964/0.5973, allocations: 28 kB / 1.031 GB, free: 6.859 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.0003988/0.5977, allocations: 0.8282 MB / 1.032 GB, free: 6 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.5978, allocations: 72.12 kB / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5978, allocations: 0 / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/0.5978, allocations: 9.25 kB / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.5982, allocations: 0.5321 MB / 1.033 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004507/0.5986, allocations: 284.4 kB / 1.033 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.5989, allocations: 0.7009 MB / 1.034 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000183/0.5991, allocations: 52.59 kB / 1.034 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.5991, allocations: 23.38 kB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5991, allocations: 4 kB / 1.034 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.612, allocations: 2.81 MB / 1.036 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.6122, allocations: 202.7 kB / 1.037 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.555/4.167, allocations: 2.25 kB / 1.037 GB, free: 1.355 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