Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_9_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.008812/0.008812, allocations: 104.3 kB / 15.74 MB, free: 6.441 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.001949/0.001949, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 64.36 kB / 0.9504 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2468, allocations: 140.4 MB / 1.087 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002525/0.2494, allocations: 1.451 MB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004497/0.2499, allocations: 144.4 kB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.146e-05/0.2499, allocations: 0 / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.313e-05/0.25, allocations: 7.922 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.2501, allocations: 3.938 kB / 1.089 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2504, allocations: 31.91 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.2505, allocations: 39.86 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.2507, allocations: 27.97 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.2507, allocations: 15.92 kB / 1.089 GB, free: 404 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.676e-05/0.2508, allocations: 23.92 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.2508, allocations: 4 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.2509, allocations: 31.97 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.251, allocations: 11.94 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.251, allocations: 15.94 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.2512, allocations: 67.78 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2512, allocations: 0 / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2512, allocations: 3.938 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.2512, allocations: 0 / 1.089 GB, free: 244 kB / 0.8419 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.0005667/0.2518, allocations: 359.1 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.2519, allocations: 8.031 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.77e-05/0.2519, allocations: 38.75 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.2531, allocations: 212.5 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2532, allocations: 176.2 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2532, allocations: 4.375 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.2533, allocations: 4.375 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.2538, allocations: 198 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2539, allocations: 3.938 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.2539, allocations: 0 / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2539, allocations: 4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008498/0.2547, allocations: 283.6 kB / 1.091 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009484/0.2557, allocations: 441.1 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.2569, allocations: 290.1 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.2573, allocations: 108.8 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.2573, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.2573, allocations: 38.5 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.2573, allocations: 0 / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.001192/0.2585, allocations: 309.2 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.2585, allocations: 51.41 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.2586, allocations: 121.8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2587, allocations: 25.7 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.2587, allocations: 92.08 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.2587, allocations: 11.91 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.2588, allocations: 17.7 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/0.2589, allocations: 318.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/0.2593, allocations: 91.88 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.2596, allocations: 99.88 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006906/0.2603, allocations: 172.8 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2604, allocations: 0 / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007649/0.2611, allocations: 225.7 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2611, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2612, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2612, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.2614, allocations: 43.88 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.2615, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.2617, allocations: 27.95 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.2617, allocations: 0 / 1.093 GB, free: 12.3 MB / 0.8575 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.583e-05/0.2618, allocations: 121.7 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.2618, allocations: 11.89 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.2619, allocations: 7.906 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2619, allocations: 8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2619, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2619, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.2621, allocations: 213.6 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.2621, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.2624, allocations: 35.88 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2624, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.2624, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2624, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2624, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.2632, allocations: 307.2 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.2633, allocations: 81.02 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.2633, allocations: 4 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.2635, allocations: 35.94 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.2636, allocations: 3.938 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.2636, allocations: 4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.2636, allocations: 91.27 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2636, allocations: 0 / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002395/0.2639, allocations: 15.94 kB / 1.094 GB, free: 11.27 MB / 0.8575 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.265, allocations: 0.8411 MB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007803/0.2657, allocations: 199.7 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2658, allocations: 0 / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.2662, allocations: 103.9 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.2664, allocations: 12.28 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.27, allocations: 1.835 MB / 1.097 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.2702, allocations: 0.6846 MB / 1.097 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.3e-05/0.2703, allocations: 19.98 kB / 1.097 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.119e-05/0.2704, allocations: 23.42 kB / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2704, allocations: 0 / 1.097 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.2868, allocations: 1.945 MB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.627, allocations: 10.03 kB / 1.099 GB, free: 5.551 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches