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.01082/0.01082, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.002144/0.002144, allocations: 191.6 kB / 16.67 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.837/2.837, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2817, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002812/0.2845, allocations: 1.456 MB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004132/0.2849, allocations: 152.3 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.156e-05/0.285, allocations: 4 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.432e-05/0.2851, allocations: 3.938 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.887e-05/0.2852, allocations: 7.922 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.2854, allocations: 31.91 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.2855, allocations: 39.91 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2857, allocations: 23.94 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.2857, allocations: 23.91 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.2858, allocations: 15.92 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2858, allocations: 7.938 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.2859, allocations: 35.97 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.2859, allocations: 4 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.286, allocations: 23.86 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.2861, allocations: 60.08 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2862, allocations: 8 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2862, allocations: 0 / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2862, allocations: 0 / 1.168 GB, free: 5.379 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.0004505/0.2866, allocations: 363.2 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.2867, allocations: 8.031 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.2867, allocations: 38.75 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.2878, allocations: 216.5 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.288, allocations: 172.3 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.288, allocations: 384 / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.288, allocations: 4.375 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005762/0.2886, allocations: 190 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2886, allocations: 11.92 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.2886, allocations: 0 / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2886, allocations: 0 / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008625/0.2895, allocations: 279.6 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.2904, allocations: 445.2 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.2916, allocations: 290.2 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.292, allocations: 96.8 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.292, allocations: 0 / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/0.292, allocations: 38.56 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.292, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.001196/0.2932, allocations: 321.2 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.2933, allocations: 55.39 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.2934, allocations: 113.8 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.2934, allocations: 30.08 kB / 1.171 GB, free: 2.555 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/0.2935, allocations: 84.14 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.2935, allocations: 15.89 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.2936, allocations: 17.72 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.2937, allocations: 326.7 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/0.294, allocations: 95.88 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.2944, allocations: 91.88 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/0.2951, allocations: 176.6 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2951, allocations: 0 / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007692/0.2959, allocations: 213.5 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2959, allocations: 4 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.296, allocations: 0 / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.296, allocations: 0 / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.2962, allocations: 35.94 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2963, allocations: 3.938 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.2965, allocations: 35.95 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.2965, allocations: 0 / 1.172 GB, free: 1.449 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 9.307e-05/0.2966, allocations: 121.8 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.2966, allocations: 7.953 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.86e-05/0.2967, allocations: 3.906 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.2967, allocations: 0 / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.2967, allocations: 8 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2967, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.2969, allocations: 209.5 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2969, allocations: 8 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.2972, allocations: 35.88 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2972, allocations: 0 / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.2972, allocations: 4 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2972, allocations: 0 / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2972, allocations: 0 / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.2981, allocations: 319.2 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.2981, allocations: 81.11 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.2981, allocations: 0 / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.2984, allocations: 27.95 kB / 1.172 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.2984, allocations: 4 kB / 1.172 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.2984, allocations: 7.984 kB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.455e-05/0.2985, allocations: 91.27 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2985, allocations: 288 / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002552/0.2988, allocations: 19.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.001071/0.2998, allocations: 0.8415 MB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007894/0.3006, 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.354e-06/0.3007, allocations: 0 / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.301, allocations: 103.9 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.3013, allocations: 1.719 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.003543/0.3049, allocations: 1.846 MB / 1.175 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.3052, allocations: 0.7 MB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.35e-05/0.3053, allocations: 19.98 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.3053, allocations: 11.44 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of SimCode: time 6.92e-07/0.3054, allocations: 0 / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.3235, allocations: 1.959 MB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.104, allocations: 9.453 kB / 1.178 GB, free: 10.68 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