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.007405/0.007405, allocations: 101 kB / 15.73 MB, free: 6.059 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.001871/0.001871, allocations: 194.4 kB / 16.68 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.768/2.768, allocations: 437 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2885, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002755/0.2913, allocations: 1.47 MB / 1.168 GB, free: 5.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003958/0.2917, allocations: 148.4 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.2918, allocations: 0 / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.2918, allocations: 3.938 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.069e-05/0.2919, allocations: 3.938 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.2921, allocations: 35.89 kB / 1.168 GB, free: 5.621 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2922, allocations: 39.91 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2924, allocations: 19.98 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.774e-05/0.2924, allocations: 19.94 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.2925, allocations: 27.84 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.2925, allocations: 4 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.2926, allocations: 39.91 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.2926, allocations: 4 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.2927, allocations: 19.86 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2928, allocations: 60.08 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2928, allocations: 0 / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2929, allocations: 0 / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.2929, allocations: 4 kB / 1.168 GB, free: 5.387 MB / 0.92 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.0005548/0.2934, allocations: 375.1 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.2935, allocations: 8.031 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.001e-05/0.2935, allocations: 34.69 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.2947, allocations: 216.5 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2948, allocations: 164.4 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.2948, allocations: 4.375 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.2948, allocations: 4.375 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.2954, allocations: 194 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2954, allocations: 3.938 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.2955, allocations: 4 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2955, allocations: 0 / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008863/0.2964, allocations: 283.5 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009325/0.2973, allocations: 445.2 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.2985, allocations: 286.2 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.2989, allocations: 104.7 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.2989, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.299, allocations: 34.55 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.299, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.001252/0.3002, allocations: 313.3 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.3003, allocations: 51.41 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3004, allocations: 121.8 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.3005, allocations: 25.7 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.073e-05/0.3005, allocations: 84.14 kB / 1.171 GB, free: 2.477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.3006, allocations: 19.89 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.3006, allocations: 17.66 kB / 1.171 GB, free: 2.434 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3008, allocations: 323.1 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.3012, allocations: 95.88 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.3015, allocations: 91.88 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/0.3023, allocations: 172.6 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3023, allocations: 3.938 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007774/0.3031, allocations: 209.5 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3031, allocations: 8 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3031, allocations: 4 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3031, allocations: 7.938 kB / 1.172 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.3034, allocations: 40.2 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3034, allocations: 0 / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.3036, allocations: 23.95 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.3036, allocations: 4 kB / 1.172 GB, free: 1.453 MB / 0.92 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 0.0001056/0.3038, allocations: 125.8 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3038, allocations: 3.953 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.3039, allocations: 15.89 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3039, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3039, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3039, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.3041, allocations: 213.5 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3042, allocations: 0 / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.3044, allocations: 39.94 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3044, allocations: 0 / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3044, allocations: 0 / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3044, allocations: 0 / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3044, allocations: 4 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008345/0.3053, allocations: 323.1 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.3053, allocations: 77.11 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3054, allocations: 0 / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.3056, allocations: 27.95 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.3056, allocations: 4 kB / 1.172 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.3057, allocations: 3.984 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.928e-05/0.3057, allocations: 99.27 kB / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3057, allocations: 0 / 1.173 GB, free: 444 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002692/0.306, allocations: 15.94 kB / 1.173 GB, free: 428 kB / 0.92 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.001223/0.3072, allocations: 0.8375 MB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007975/0.3081, allocations: 199.7 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3081, allocations: 4 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.3085, allocations: 99.81 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.3088, allocations: 6.25 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.3124, allocations: 1.842 MB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3127, allocations: 0.6922 MB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.102e-05/0.3128, allocations: 23.98 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.3129, allocations: 11.44 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/0.3129, allocations: 0 / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.3355, allocations: 1.962 MB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.41, allocations: 4 kB / 1.178 GB, free: 10.69 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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