Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_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.009435/0.009436, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001894/0.001894, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 71.89 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 157.4 MB / 1.207 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002925/0.3201, allocations: 1.467 MB / 1.209 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004394/0.3206, allocations: 131.6 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.3206, allocations: 0 / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.012e-05/0.3207, allocations: 7.922 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.243e-05/0.3208, allocations: 7.922 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.3211, allocations: 31.91 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.3212, allocations: 43.86 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3214, allocations: 23.98 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.895e-05/0.3214, allocations: 19.91 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.3215, allocations: 23.92 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3215, allocations: 4 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3216, allocations: 31.98 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.3216, allocations: 11.98 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.3217, allocations: 15.88 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.3219, allocations: 67.78 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3219, allocations: 0 / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.973e-06/0.3219, allocations: 0 / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3219, allocations: 0 / 1.209 GB, free: 8.293 MB / 0.9669 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.0005489/0.3225, allocations: 355.7 kB / 1.209 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.3225, allocations: 16.61 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.3226, allocations: 38.75 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.3238, allocations: 204.5 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3239, allocations: 184.1 kB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.324, allocations: 4.375 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.324, allocations: 8.375 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.3246, allocations: 186 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3246, allocations: 3.938 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.3247, allocations: 11.92 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3247, allocations: 4 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009497/0.3256, allocations: 283.6 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.3268, allocations: 437.1 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.3279, allocations: 286.2 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/0.3283, allocations: 104.8 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3284, allocations: 0 / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.3284, allocations: 34.56 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3284, allocations: 0 / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.001266/0.3297, allocations: 309.3 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3297, allocations: 51.41 kB / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3299, allocations: 117.8 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.3299, allocations: 33.62 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.33, allocations: 96.05 kB / 1.212 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.33, allocations: 11.84 kB / 1.212 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.186e-05/0.3301, allocations: 17.7 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3302, allocations: 318.8 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.3306, allocations: 91.88 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.331, allocations: 99.88 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000709/0.3317, allocations: 172.6 kB / 1.212 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3317, allocations: 4 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007869/0.3325, allocations: 213.5 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3325, allocations: 4 kB / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3325, allocations: 0 / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.3326, allocations: 0 / 1.213 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.3328, allocations: 35.95 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3329, allocations: 0 / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.3331, allocations: 35.84 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3331, allocations: 0 / 1.213 GB, free: 4.363 MB / 0.9669 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.987e-05/0.3332, allocations: 117.8 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.3332, allocations: 4 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.3333, allocations: 15.89 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.3333, allocations: 8.375 kB / 1.213 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3333, allocations: 3.938 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3333, allocations: 0 / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.3336, allocations: 209.5 kB / 1.213 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3336, allocations: 3.938 kB / 1.213 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.3338, allocations: 27.95 kB / 1.213 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3338, allocations: 7.984 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3339, allocations: 0 / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3339, allocations: 4 kB / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3339, allocations: 0 / 1.213 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008446/0.3347, allocations: 319.5 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.297e-05/0.3348, allocations: 77.11 kB / 1.213 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3348, allocations: 0 / 1.213 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.3351, allocations: 31.94 kB / 1.214 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.3351, allocations: 7.938 kB / 1.214 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.3351, allocations: 4 kB / 1.214 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.706e-05/0.3352, allocations: 95.2 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3352, allocations: 0 / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002481/0.3354, allocations: 15.94 kB / 1.214 GB, free: 3.328 MB / 0.9669 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.001166/0.3366, allocations: 0.8489 MB / 1.214 GB, free: 2.453 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008516/0.3375, allocations: 195.7 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3375, allocations: 0 / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.3379, allocations: 103.9 kB / 1.215 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.3382, allocations: 8 kB / 1.215 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.3419, allocations: 1.833 MB / 1.217 GB, free: 248 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.3422, allocations: 0.6885 MB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.371e-05/0.3422, allocations: 19.98 kB / 1.217 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.3423, allocations: 19.42 kB / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3423, allocations: 0 / 1.217 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0193/0.3616, allocations: 1.995 MB / 1.219 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.072, allocations: 12.81 kB / 1.219 GB, free: 13.56 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches