Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.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.Examples.SmoothMin,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin",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.0009178/0.0009178, allocations: 98.03 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.005655/0.005655, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.309/1.309, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.375/2.375, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 11.98 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5318/0.5321, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001254/0.5334, allocations: 1.188 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003204/0.5337, allocations: 148.4 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.5338, allocations: 4 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.5338, allocations: 3.938 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.5339, allocations: 0 / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.534, allocations: 27.92 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.311e-05/0.5341, allocations: 39.84 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.749e-05/0.5342, allocations: 31.97 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.516e-05/0.5342, allocations: 11.92 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.385e-05/0.5343, allocations: 15.92 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.5343, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.5344, allocations: 27.97 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.5344, allocations: 4 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.5344, allocations: 41.58 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.821e-05/0.5345, allocations: 55.84 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5346, allocations: 0 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5346, allocations: 8 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.5346, allocations: 0 / 1.025 GB, free: 14.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003522/0.5349, allocations: 365.5 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.535, allocations: 8.031 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.535, allocations: 34.75 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.536, allocations: 244.5 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.004e-05/0.5361, allocations: 172.3 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.5362, allocations: 384 / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.5362, allocations: 8.375 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.5367, allocations: 213.9 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.5367, allocations: 3.938 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.5368, allocations: 4 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.5368, allocations: 4 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.5376, allocations: 319.6 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008298/0.5385, allocations: 457.1 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.5396, allocations: 346.2 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.54, allocations: 116.7 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.54, allocations: 4 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.54, allocations: 30.56 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.54, allocations: 0 / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001178/0.5412, allocations: 365.3 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.5412, allocations: 55.41 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.5414, allocations: 125.8 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.5414, allocations: 25.7 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.5414, allocations: 92.05 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.5415, allocations: 7.906 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.5415, allocations: 13.72 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5416, allocations: 318.8 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.542, allocations: 115.9 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.5424, allocations: 111.9 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/0.5431, allocations: 212.6 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5431, allocations: 3.938 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007733/0.5438, allocations: 253.4 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5439, allocations: 7.984 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5439, allocations: 0 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.5439, allocations: 0 / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.5442, allocations: 43.95 kB / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.5442, allocations: 0 / 1.029 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.5444, allocations: 43.86 kB / 1.029 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.5444, allocations: 3.984 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 9.955e-05/0.5445, allocations: 122.3 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.5445, allocations: 4 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.5446, allocations: 12.22 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.5446, allocations: 4 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5446, allocations: 0 / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5446, allocations: 7.984 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.5449, allocations: 217.5 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5449, allocations: 0 / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.5451, allocations: 47.95 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5451, allocations: 0 / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.5451, allocations: 3.984 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5451, allocations: 3.938 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5451, allocations: 0 / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.546, allocations: 351.2 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.546, allocations: 81.11 kB / 1.029 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.546, allocations: 0 / 1.029 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.5463, allocations: 39.95 kB / 1.029 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.5463, allocations: 4.359 kB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.5463, allocations: 0 / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.786e-05/0.5464, allocations: 103.2 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5464, allocations: 0 / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002311/0.5467, allocations: 15.94 kB / 1.03 GB, free: 8.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 (3): * Single equations (assignments): 3 * 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.001046/0.5477, allocations: 0.8762 MB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007682/0.5485, allocations: 235.7 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.5485, allocations: 0 / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.5489, allocations: 127.8 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.5491, allocations: 6.234 kB / 1.031 GB, free: 7.594 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.5526, allocations: 1.966 MB / 1.033 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.5528, allocations: 0.6848 MB / 1.033 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.326e-05/0.5529, allocations: 19.98 kB / 1.033 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.5529, allocations: 15.42 kB / 1.033 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.553, allocations: 4 kB / 1.033 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4577/1.011, allocations: 1.655 MB / 1.035 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003737/1.011, allocations: 204.8 kB / 1.035 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.314/4.325, allocations: 3.938 kB / 1.035 GB, free: 2.984 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches