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.001304/0.001304, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001448/0.001448, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.366/2.366, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5656, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002217/0.5678, allocations: 1.531 MB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.5681, allocations: 136.4 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.5682, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.5682, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.385e-05/0.5683, allocations: 11.94 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001756/0.5684, allocations: 31.95 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.407e-05/0.5685, allocations: 39.86 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.5686, allocations: 23.98 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.343e-05/0.5687, allocations: 15.94 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.5687, allocations: 19.92 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.5687, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.437e-05/0.5688, allocations: 35.95 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.5688, allocations: 15.92 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.5689, allocations: 15.88 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.569, allocations: 59.86 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.569, allocations: 7.938 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.104e-06/0.569, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.569, allocations: 7.922 kB / 1.019 GB, free: 0.7266 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.0003754/0.5694, allocations: 361.6 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.5694, allocations: 8.031 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.5695, allocations: 38.75 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000952/0.5704, allocations: 204.5 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.5705, allocations: 172.3 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.5706, allocations: 4.375 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.5706, allocations: 4.375 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.5711, allocations: 194 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5711, allocations: 3.938 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.5711, allocations: 0 / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5711, allocations: 4 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.5719, allocations: 283.5 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007942/0.5727, allocations: 441.1 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009556/0.5736, allocations: 298.1 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.5739, allocations: 96.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.574, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.574, allocations: 42.55 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.574, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000993/0.575, allocations: 305.2 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.575, allocations: 55.41 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.492e-05/0.5751, allocations: 117.8 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.5751, allocations: 29.64 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.5752, allocations: 92.14 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.5752, allocations: 7.891 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.5753, allocations: 13.72 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.5754, allocations: 326.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.5757, allocations: 92.25 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.576, allocations: 95.88 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/0.5766, allocations: 176.6 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5766, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006327/0.5772, allocations: 217.3 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.5772, allocations: 8 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.5772, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.5772, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.5775, allocations: 39.88 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.5775, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.5777, allocations: 31.95 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.5777, allocations: 0 / 1.022 GB, free: 12.8 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.006e-05/0.5778, allocations: 121.8 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.5778, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.334e-05/0.5778, allocations: 7.906 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.5778, allocations: 4 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.5778, allocations: 0 / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5778, allocations: 3.984 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.578, allocations: 213.4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5781, allocations: 7.984 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.5783, allocations: 31.95 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5783, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5783, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5783, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5783, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006762/0.579, allocations: 319.2 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.579, allocations: 81.39 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.579, allocations: 4 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.5793, allocations: 27.95 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.5793, allocations: 7.984 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.5793, allocations: 3.984 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.384e-05/0.5794, allocations: 95.27 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5794, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002141/0.5796, allocations: 15.94 kB / 1.023 GB, free: 11.77 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.0009407/0.5805, allocations: 0.845 MB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006759/0.5812, allocations: 200 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5812, allocations: 3.938 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003286/0.5816, allocations: 95.88 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.5818, allocations: 7.938 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/0.5848, allocations: 1.848 MB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.5851, allocations: 0.6885 MB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.517e-05/0.5852, allocations: 16 kB / 1.027 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.5852, allocations: 19.42 kB / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5852, allocations: 0 / 1.027 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6503/1.236, allocations: 1.786 MB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003114/1.236, allocations: 200.3 kB / 1.029 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.898, allocations: 0 / 1.029 GB, free: 5.965 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