Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008094/0.0008094, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008358/0.0008358, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9219/0.9219, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.767/1.767, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 4 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.696e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001882/0.001899, allocations: 1.468 MB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003025/0.002202, allocations: 139.4 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.002233, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.002275, allocations: 3.938 kB / 1.001 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.002343, allocations: 7.938 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.002571, allocations: 43.77 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 9.347e-05/0.002665, allocations: 43.84 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.00277, allocations: 12 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.00282, allocations: 27.97 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.834e-05/0.002858, allocations: 19.91 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.002873, allocations: 4 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.925e-05/0.002942, allocations: 27.98 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.635e-05/0.002959, allocations: 7.984 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.002978, allocations: 8 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.003096, allocations: 71.78 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003098, allocations: 3.938 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003099, allocations: 0 / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.269e-06/0.003103, allocations: 4 kB / 1.002 GB, free: 11.6 MB / 0.9636 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.0003263/0.00343, allocations: 286.1 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.003466, allocations: 8.75 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.003498, allocations: 38.75 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005633/0.004062, allocations: 212.5 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.004141, allocations: 113.7 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.004153, allocations: 12.31 kB / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.004165, allocations: 384 / 1.002 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.004505, allocations: 198 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.004514, allocations: 4.172 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.004526, allocations: 384 / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.004533, allocations: 8.109 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004489/0.004981, allocations: 283.5 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.005549, allocations: 384.8 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.006129, allocations: 290.1 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.006314, allocations: 108.7 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.006334, allocations: 0 / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.006352, allocations: 34.56 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.006353, allocations: 0 / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000628/0.006981, allocations: 309.3 kB / 1.004 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.00701, allocations: 51.41 kB / 1.004 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.007076, allocations: 125.8 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.007087, allocations: 25.7 kB / 1.004 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.007124, allocations: 92.03 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.007144, allocations: 12.73 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.007179, allocations: 21.64 kB / 1.004 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.007253, allocations: 318.8 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.007436, allocations: 91.88 kB / 1.004 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.00761, allocations: 95.88 kB / 1.004 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.007941, allocations: 176.6 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007942, allocations: 0 / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003733/0.008316, allocations: 221.4 kB / 1.005 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.008328, allocations: 4 kB / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008332, allocations: 0 / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.008341, allocations: 0 / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.00847, allocations: 39.88 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.008475, allocations: 0 / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.472e-05/0.008559, allocations: 31.89 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.008567, allocations: 0 / 1.005 GB, free: 7.883 MB / 0.9636 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 5.696e-05/0.008624, allocations: 121.8 kB / 1.005 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.008642, allocations: 11.94 kB / 1.005 GB, free: 7.742 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.008677, allocations: 12 kB / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008679, allocations: 0 / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.008683, allocations: 0 / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.008686, allocations: 0 / 1.005 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.008823, allocations: 168.7 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.008824, allocations: 0 / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.804e-05/0.008922, allocations: 39.94 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008924, allocations: 336 / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.008932, allocations: 0 / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-07/0.008933, allocations: 0 / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.008934, allocations: 0 / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.009339, allocations: 319.2 kB / 1.006 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.009354, allocations: 11.94 kB / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.009367, allocations: 0 / 1.006 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.009467, allocations: 27.95 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.009495, allocations: 4 kB / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.0095, allocations: 0 / 1.006 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.009538, allocations: 99.58 kB / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.009538, allocations: 0 / 1.006 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001615/0.0097, allocations: 12 kB / 1.006 GB, free: 6.996 MB / 0.9636 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.0005699/0.01027, allocations: 0.8411 MB / 1.007 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.01078, allocations: 199.7 kB / 1.007 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01078, allocations: 0 / 1.007 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.01096, allocations: 99.88 kB / 1.007 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.01113, allocations: 7.938 kB / 1.007 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.01301, allocations: 1.848 MB / 1.009 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.397e-05/0.01305, allocations: 71.33 kB / 1.009 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.878e-05/0.0131, allocations: 23.92 kB / 1.009 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.01315, allocations: 20.5 kB / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.01315, allocations: 0 / 1.009 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.02705, allocations: 2.682 MB / 1.011 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/7.079, allocations: 3.984 kB / 1.011 GB, free: 1.211 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.31744881812483]