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.007316/0.007316, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001704/0.001704, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.506/2.506, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 60.12 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9471/0.9486, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002879/0.9515, allocations: 1.471 MB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004683/0.952, allocations: 142.9 kB / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.9521, allocations: 0 / 1.168 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.854e-05/0.9522, allocations: 7.922 kB / 1.168 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.9523, allocations: 3.938 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.9525, allocations: 31.89 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.9527, allocations: 43.92 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.9528, allocations: 23.92 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.228e-05/0.9529, allocations: 15.98 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.9529, allocations: 19.86 kB / 1.168 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.953, allocations: 8 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.9531, allocations: 35.97 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.204e-05/0.9531, allocations: 7.984 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.609e-05/0.9532, allocations: 19.88 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.9533, allocations: 63.84 kB / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.9533, allocations: 0 / 1.168 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9533, allocations: 7.938 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.9534, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 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.0004976/0.9539, allocations: 357.6 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.9539, allocations: 12.92 kB / 1.168 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.954, allocations: 34.75 kB / 1.168 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.9551, allocations: 212.5 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.9552, allocations: 168.3 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.9552, allocations: 8.312 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.9553, allocations: 4.375 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.9558, allocations: 194 kB / 1.169 GB, free: 0.7734 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.9559, allocations: 3.938 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.9559, allocations: 0 / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.9559, allocations: 0 / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007835/0.9567, allocations: 283.6 kB / 1.169 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009151/0.9576, allocations: 445 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.9587, allocations: 294.3 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.959, allocations: 100.8 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.9591, allocations: 3.906 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.9591, allocations: 38.5 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.9591, allocations: 0 / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.001145/0.9603, allocations: 305.3 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.9603, allocations: 55.41 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.9604, allocations: 117.8 kB / 1.171 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.9605, allocations: 33.7 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.9605, allocations: 84.14 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.9606, allocations: 11.81 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.9606, allocations: 17.7 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9608, allocations: 318.8 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.9611, allocations: 91.88 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.9614, allocations: 107.8 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.962, allocations: 172.6 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9621, allocations: 4 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006924/0.9628, allocations: 205.5 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.9628, allocations: 8 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9628, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.9628, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.9631, allocations: 35.95 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.9631, allocations: 3.984 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.9633, allocations: 31.95 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.9633, allocations: 4.375 kB / 1.172 GB, free: 13.92 MB / 0.9044 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.962e-05/0.9634, allocations: 117.7 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/0.9634, allocations: 11.89 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.9635, allocations: 11.91 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9635, allocations: 3.938 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.9635, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.9635, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.9637, allocations: 213.5 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9638, allocations: 0 / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.964, allocations: 35.94 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.964, allocations: 0 / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.964, allocations: 4 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/0.964, allocations: 4 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.964, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000761/0.9648, allocations: 315.2 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.9649, allocations: 77.48 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.9649, allocations: 4 kB / 1.172 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.9651, allocations: 31.94 kB / 1.172 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.9652, allocations: 3.938 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.9652, allocations: 3.984 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.16e-05/0.9653, allocations: 95.27 kB / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9653, allocations: 0 / 1.172 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002615/0.9656, allocations: 23.94 kB / 1.173 GB, free: 12.88 MB / 0.9044 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.001137/0.9667, allocations: 0.8372 MB / 1.173 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007124/0.9674, allocations: 203.6 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.9674, allocations: 0 / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.9678, allocations: 107.9 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.9681, allocations: 0 / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/0.9714, allocations: 1.836 MB / 1.175 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.9717, allocations: 0.6885 MB / 1.176 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.265e-05/0.9718, allocations: 19.98 kB / 1.176 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.9718, allocations: 19.7 kB / 1.176 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.9718, allocations: 0 / 1.176 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.9919, allocations: 1.946 MB / 1.178 GB, free: 7.172 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.629/8.621, allocations: 7.016 kB / 1.178 GB, free: 7.168 MB / 0.9044 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