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.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.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.001496/0.001496, allocations: 108 kB / 15.61 MB, free: 152 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.001479/0.001479, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.524/2.524, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 71.88 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.63, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003079/0.6332, allocations: 1.464 MB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003936/0.6336, allocations: 140.4 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.6336, allocations: 4 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.951e-05/0.6337, allocations: 3.938 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.6338, allocations: 3.938 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.634, allocations: 35.89 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.6341, allocations: 43.84 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.6343, allocations: 20 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.6343, allocations: 23.92 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.6344, allocations: 19.91 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.855e-05/0.6344, allocations: 4 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.562e-05/0.6345, allocations: 35.97 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.6345, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.6346, allocations: 23.86 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.6347, allocations: 59.86 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.6347, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6348, allocations: 3.938 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.6348, allocations: 0 / 1.019 GB, free: 0.6289 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004418/0.6352, allocations: 365.5 kB / 1.02 GB, free: 228 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.6353, allocations: 12.03 kB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.6353, allocations: 42.69 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.6365, allocations: 212.6 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.6366, allocations: 168.3 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.6366, allocations: 8.312 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.6366, allocations: 384 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.6372, allocations: 202 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.6372, allocations: 3.938 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.6373, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.6373, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008567/0.6381, allocations: 279.6 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.6391, allocations: 445.1 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.6402, allocations: 282.2 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.6406, allocations: 108.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.6406, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.6406, allocations: 38.44 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.6406, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.001196/0.6418, allocations: 313.2 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.6419, allocations: 55.41 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.642, allocations: 113.8 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.642, allocations: 25.7 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.6421, allocations: 88.14 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.6421, allocations: 15.89 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.6422, allocations: 13.72 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6423, allocations: 326.8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.6426, allocations: 91.88 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.643, allocations: 107.8 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.6437, allocations: 164.6 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6437, allocations: 4 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007469/0.6444, allocations: 213.4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.6444, allocations: 5.719 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6445, allocations: 4 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.6445, allocations: 0 / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.6447, allocations: 31.94 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.6448, allocations: 4 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.645, allocations: 27.95 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.645, allocations: 8 kB / 1.023 GB, free: 12.69 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 8.668e-05/0.6451, allocations: 123.2 kB / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.6451, allocations: 0 / 1.023 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.6452, allocations: 11.91 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6452, allocations: 4.328 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6452, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6452, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.6454, allocations: 217.4 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6454, allocations: 3.984 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.6456, allocations: 35.94 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6456, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.6457, allocations: 384 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6457, allocations: 4 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6457, allocations: 0 / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007728/0.6465, allocations: 315.2 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.6465, allocations: 88.95 kB / 1.024 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.6465, allocations: 4 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.6468, allocations: 31.89 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.6468, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.6468, allocations: 3.984 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.026e-05/0.6469, allocations: 95.27 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6469, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00023/0.6471, allocations: 15.94 kB / 1.024 GB, free: 11.66 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.001016/0.6481, allocations: 0.8334 MB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007504/0.6489, allocations: 207.6 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6489, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.6493, allocations: 99.88 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.6495, allocations: 4 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003407/0.653, allocations: 1.834 MB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.6532, allocations: 0.6807 MB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.57e-05/0.6533, allocations: 24.23 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.366e-05/0.6534, allocations: 19.36 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6534, allocations: 0 / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.669, allocations: 1.922 MB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/8.103, allocations: 5.719 kB / 1.029 GB, free: 5.953 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