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.001887/0.001887, allocations: 112.5 kB / 15.73 MB, free: 76 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.002009/0.002009, allocations: 192.9 kB / 16.67 MB, free: 6.57 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.479/1.479, 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 11.1.0-maint.11.x/package.mo): time 2.826/2.826, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.88 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2709, allocations: 159.1 MB / 1.22 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002459/0.2734, allocations: 1.471 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003539/0.2737, allocations: 135.6 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.2738, allocations: 0 / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.797e-05/0.2738, allocations: 3.938 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.421e-05/0.2739, allocations: 7.938 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.2741, allocations: 31.89 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.395e-05/0.2742, allocations: 43.84 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2743, allocations: 31.97 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.715e-05/0.2744, allocations: 11.94 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.473e-05/0.2744, allocations: 19.92 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.2744, allocations: 4 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.2745, allocations: 39.95 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/0.2746, allocations: 19.92 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.2746, allocations: 11.94 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.2747, allocations: 67.72 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2748, allocations: 0 / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2748, allocations: 0 / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.2748, allocations: 0 / 1.222 GB, free: 12.37 MB / 0.9825 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.0004714/0.2752, allocations: 359.3 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2753, allocations: 12.03 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.2753, allocations: 42.67 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.2765, allocations: 208.5 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2766, allocations: 172.3 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.2766, allocations: 4.375 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.2767, allocations: 4.375 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.2773, allocations: 194 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2773, allocations: 7.875 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2773, allocations: 4 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2773, allocations: 0 / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009284/0.2782, allocations: 279.6 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009194/0.2792, allocations: 437.3 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.2804, allocations: 286.2 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/0.2808, allocations: 100.8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2808, allocations: 7.984 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2809, allocations: 38.44 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2809, allocations: 0 / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.001261/0.2821, allocations: 305.3 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.2822, allocations: 51.41 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2823, allocations: 117.8 kB / 1.225 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2823, allocations: 25.7 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.2824, allocations: 104.1 kB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.2824, allocations: 7.906 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.2825, allocations: 13.72 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2826, allocations: 326.8 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.283, allocations: 91.88 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.2834, allocations: 99.81 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007225/0.2841, allocations: 168.6 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.2841, allocations: 3.984 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008096/0.285, allocations: 213.5 kB / 1.226 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.285, allocations: 7.984 kB / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.285, allocations: 0 / 1.226 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.285, allocations: 4 kB / 1.226 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.2853, allocations: 31.95 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2853, allocations: 0 / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.2855, allocations: 35.91 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2855, allocations: 3.984 kB / 1.226 GB, free: 8.441 MB / 0.9825 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.373e-05/0.2856, allocations: 117.7 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.2857, allocations: 4 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.2857, allocations: 20.59 kB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2857, allocations: 0 / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2857, allocations: 0 / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2857, allocations: 3.984 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.286, allocations: 217.4 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.286, allocations: 0 / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.2862, allocations: 31.95 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.2863, allocations: 0 / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.2863, allocations: 3.984 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2863, allocations: 3.938 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2863, allocations: 4 kB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.2872, allocations: 311.2 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.2872, allocations: 85.06 kB / 1.226 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.2873, allocations: 4 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002405/0.2875, allocations: 31.89 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.2875, allocations: 7.984 kB / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2876, allocations: 0 / 1.226 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.291e-05/0.2876, allocations: 95.27 kB / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2876, allocations: 0 / 1.227 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002432/0.2879, allocations: 15.94 kB / 1.227 GB, free: 7.402 MB / 0.9825 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.001198/0.2891, allocations: 0.8417 MB / 1.227 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008628/0.29, allocations: 199.7 kB / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.29, allocations: 0 / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.2904, allocations: 95.88 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.2907, allocations: 11.98 kB / 1.228 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.2945, allocations: 1.838 MB / 1.229 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.2948, allocations: 0.6885 MB / 1.23 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.893e-05/0.2949, allocations: 20.23 kB / 1.23 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.328e-05/0.295, allocations: 23.42 kB / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.295, allocations: 0 / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.3165, allocations: 1.951 MB / 1.232 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.914, allocations: 5.75 kB / 1.232 GB, free: 1.676 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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