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.001117/0.001117, allocations: 108 kB / 15.6 MB, free: 132 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.00108/0.00108, allocations: 194 kB / 16.53 MB, free: 6.391 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.248/1.248, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 64.78 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2552, allocations: 157.4 MB / 1.053 GB, free: 8.277 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002618/0.2579, allocations: 1.473 MB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000448/0.2583, allocations: 139.6 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.2584, allocations: 0 / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.2584, allocations: 3.938 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.2585, allocations: 3.938 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.2588, allocations: 31.89 kB / 1.055 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.362e-05/0.2589, allocations: 47.86 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.259, allocations: 19.97 kB / 1.055 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.259, allocations: 19.94 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.336e-05/0.2591, allocations: 19.91 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.2591, allocations: 8 kB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.762e-05/0.2592, allocations: 31.98 kB / 1.055 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.2592, allocations: 11.97 kB / 1.055 GB, free: 6.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.2593, allocations: 15.88 kB / 1.055 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.2594, allocations: 63.84 kB / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2594, allocations: 0 / 1.055 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2594, allocations: 3.938 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2594, allocations: 4 kB / 1.055 GB, free: 6.371 MB / 0.8106 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.0004198/0.2598, allocations: 355.7 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2599, allocations: 12.62 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.827e-05/0.2599, allocations: 38.73 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.261, allocations: 208.5 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.2611, allocations: 172.2 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2611, allocations: 8.375 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.2612, allocations: 8.375 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.2617, allocations: 194 kB / 1.056 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2617, allocations: 3.938 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2618, allocations: 0 / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2618, allocations: 0 / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008125/0.2626, allocations: 283.5 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008502/0.2634, allocations: 449.1 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.2646, allocations: 286.2 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.265, allocations: 104.8 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.265, allocations: 4.062 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.265, allocations: 34.5 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.265, allocations: 0 / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.001205/0.2662, allocations: 313.2 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.2663, allocations: 51.41 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.2664, allocations: 121.8 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.2664, allocations: 25.7 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.2665, allocations: 88.12 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.2665, allocations: 15.84 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.2666, allocations: 17.7 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2667, allocations: 318.8 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.2671, allocations: 95.88 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.2675, allocations: 99.81 kB / 1.058 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/0.2681, allocations: 180.6 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2682, allocations: 0 / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007399/0.2689, allocations: 209.4 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.2689, allocations: 8 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2689, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.269, allocations: 4 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.2692, allocations: 31.95 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2693, allocations: 0 / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.2695, allocations: 27.94 kB / 1.058 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2695, allocations: 8 kB / 1.058 GB, free: 2.438 MB / 0.8106 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.067e-05/0.2696, allocations: 119.2 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.2696, allocations: 8.234 kB / 1.058 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.2696, allocations: 15.89 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2697, allocations: 0 / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2697, allocations: 3.984 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2697, allocations: 384 / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.2699, allocations: 209.5 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2699, allocations: 0 / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.2701, allocations: 31.95 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.2701, allocations: 7.938 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2701, allocations: 3.984 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2702, allocations: 4 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2702, allocations: 0 / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007435/0.2709, allocations: 311.2 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.271, allocations: 81.02 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.271, allocations: 4 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.2712, allocations: 31.95 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.2712, allocations: 7.922 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.2713, allocations: 0 / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.2713, allocations: 95.27 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2713, allocations: 4 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002451/0.2716, allocations: 15.94 kB / 1.059 GB, free: 1.406 MB / 0.8106 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.001117/0.2727, allocations: 0.8373 MB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007362/0.2735, allocations: 199.6 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2735, allocations: 4 kB / 1.06 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.2738, allocations: 99.86 kB / 1.06 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.2741, allocations: 4 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.2774, allocations: 1.841 MB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.2777, allocations: 0.6885 MB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.347e-05/0.2777, allocations: 19.98 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.2778, allocations: 11.44 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.2778, allocations: 0 / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.2943, allocations: 1.937 MB / 1.065 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.921, allocations: 4.531 kB / 1.065 GB, free: 11.7 MB / 0.8262 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