Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_11_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.001551/0.001551, 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.001611/0.001611, allocations: 193.9 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.588/2.588, allocations: 469.8 MB / 0.7424 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 71.5 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2591, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002404/0.2615, allocations: 1.465 MB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003283/0.2619, allocations: 141.4 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.2619, allocations: 4 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.2619, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.262, allocations: 3.938 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.2622, allocations: 31.89 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.2623, allocations: 43.84 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.2624, allocations: 24 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.332e-05/0.2624, allocations: 19.92 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.2625, allocations: 19.86 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.2625, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.551e-05/0.2626, allocations: 43.95 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.2626, allocations: 11.94 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.2627, allocations: 19.92 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.2628, allocations: 59.8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2628, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2628, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.2628, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 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.0004259/0.2632, allocations: 359.7 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2633, allocations: 12.03 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.2633, allocations: 34.75 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.2643, allocations: 220.5 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.2645, allocations: 164.3 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.2645, allocations: 4.375 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.2645, allocations: 384 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.2651, allocations: 202 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2651, allocations: 3.938 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2651, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.2651, allocations: 0 / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/0.2659, allocations: 283.6 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008424/0.2668, allocations: 433.4 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.2679, allocations: 290.2 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.2682, allocations: 100.7 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.2683, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2683, allocations: 34.56 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2683, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001118/0.2694, allocations: 309.2 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.2695, allocations: 63.28 kB / 1.068 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.2696, allocations: 113.8 kB / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2696, allocations: 29.7 kB / 1.068 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.65e-05/0.2696, allocations: 92.14 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.2697, allocations: 11.75 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.2697, allocations: 29.64 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2698, allocations: 314.8 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.2702, allocations: 95.88 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.2705, allocations: 99.86 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.2712, allocations: 164.6 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.2712, allocations: 4 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007247/0.2719, allocations: 213.4 kB / 1.069 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.272, allocations: 4 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.272, allocations: 7.984 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.272, allocations: 0 / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.2722, allocations: 35.94 kB / 1.069 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.2722, allocations: 4 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.2724, allocations: 27.95 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2724, allocations: 4 kB / 1.07 GB, free: 8.352 MB / 0.8262 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 9.039e-05/0.2725, allocations: 121.8 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.2726, allocations: 4.234 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.2726, allocations: 15.91 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2726, allocations: 3.984 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2726, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.2726, allocations: 0 / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.2729, allocations: 209.5 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2729, allocations: 0 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.2731, allocations: 35.94 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2731, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.2731, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2731, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2731, allocations: 4 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.2739, allocations: 315.5 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.274, allocations: 93.09 kB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.274, allocations: 0 / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.2742, allocations: 27.95 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.2742, allocations: 3.938 kB / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2743, allocations: 0 / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.245e-05/0.2743, allocations: 95.27 kB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2743, allocations: 3.938 kB / 1.07 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002187/0.2745, allocations: 19.94 kB / 1.07 GB, free: 7.32 MB / 0.8262 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.00104/0.2756, allocations: 0.8449 MB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007316/0.2763, allocations: 195.7 kB / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2763, allocations: 0 / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003583/0.2767, allocations: 103.9 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.2769, allocations: 1.562 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.2803, allocations: 1.843 MB / 1.073 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2806, allocations: 0.6846 MB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.819e-05/0.2807, allocations: 23.98 kB / 1.074 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.939e-05/0.2808, allocations: 19.42 kB / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.71e-07/0.2808, allocations: 0 / 1.074 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.229/3.509, allocations: 1.929 MB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/16.24, allocations: 7.938 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches