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.001314/0.001314, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001882/0.001882, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.519/1.519, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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 3.477/3.477, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002941/0.002941, allocations: 62.72 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4255, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002822/0.4283, allocations: 1.491 MB / 1.354 GB, free: 6.922 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.000473/0.4288, allocations: 143.5 kB / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.4288, allocations: 0 / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.242e-05/0.4289, allocations: 0 / 1.354 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.084e-05/0.429, allocations: 11.92 kB / 1.354 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.4292, allocations: 39.83 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.4293, allocations: 39.86 kB / 1.355 GB, free: 6.691 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4294, allocations: 16.27 kB / 1.355 GB, free: 6.676 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.957e-05/0.4295, allocations: 15.94 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.4295, allocations: 19.92 kB / 1.355 GB, free: 6.641 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.4296, allocations: 4 kB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.393e-05/0.4297, allocations: 31.97 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.093e-05/0.4297, allocations: 11.97 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.4297, allocations: 23.88 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.4299, allocations: 67.67 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4299, allocations: 0 / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4299, allocations: 4 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4299, allocations: 0 / 1.355 GB, free: 6.5 MB / 1.045 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.0005272/0.4304, allocations: 290.1 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4305, allocations: 8.031 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.4305, allocations: 34.75 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4316, allocations: 212.5 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4317, allocations: 114.4 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.4318, allocations: 4.375 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.4318, allocations: 4.375 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.4324, allocations: 194 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4324, allocations: 7.938 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.4324, allocations: 7.984 kB / 1.356 GB, free: 5.57 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4324, allocations: 3.984 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000849/0.4332, allocations: 275.6 kB / 1.356 GB, free: 5.297 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009913/0.4342, allocations: 404.5 kB / 1.356 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.4353, allocations: 286.1 kB / 1.356 GB, free: 4.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.4357, allocations: 100.8 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.4357, allocations: 4 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.4357, allocations: 34.56 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 2.114e-06/0.4357, allocations: 0 / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.001152/0.4369, allocations: 309.3 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.4369, allocations: 55.34 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.4371, allocations: 129.7 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.4371, allocations: 25.7 kB / 1.357 GB, free: 3.879 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.4371, allocations: 88.14 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.4372, allocations: 11.91 kB / 1.357 GB, free: 3.777 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.4372, allocations: 17.7 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4374, allocations: 326.8 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.4377, allocations: 91.88 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003595/0.4381, allocations: 95.86 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.4387, allocations: 168.6 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4387, allocations: 0 / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007215/0.4394, allocations: 221.4 kB / 1.358 GB, free: 2.852 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.4395, allocations: 4 kB / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4395, allocations: 0 / 1.358 GB, free: 2.848 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4395, allocations: 4 kB / 1.358 GB, free: 2.844 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.4397, allocations: 31.94 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4397, allocations: 3.984 kB / 1.358 GB, free: 2.809 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.4399, allocations: 39.89 kB / 1.358 GB, free: 2.77 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4399, allocations: 0 / 1.358 GB, free: 2.77 MB / 1.045 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.0001085/0.4401, allocations: 122.4 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.4401, allocations: 7.953 kB / 1.358 GB, free: 2.633 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.4401, allocations: 12 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4401, allocations: 0 / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4401, allocations: 0 / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.4401, allocations: 0 / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.4404, allocations: 184.6 kB / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4404, allocations: 0 / 1.358 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.4406, allocations: 35.94 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.4406, allocations: 0 / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4406, allocations: 0 / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4406, allocations: 0 / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4406, allocations: 0 / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000893/0.4415, allocations: 319.5 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.003e-05/0.4416, allocations: 8.031 kB / 1.359 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4416, allocations: 3.938 kB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.4418, allocations: 39.94 kB / 1.359 GB, free: 1.98 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.4419, allocations: 4 kB / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.4419, allocations: 0 / 1.359 GB, free: 1.977 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.988e-05/0.4419, allocations: 99.58 kB / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4419, allocations: 0 / 1.359 GB, free: 1.879 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002418/0.4422, allocations: 15.94 kB / 1.359 GB, free: 1.863 MB / 1.045 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.001085/0.4433, allocations: 0.8411 MB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007451/0.444, allocations: 195.8 kB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.444, allocations: 0 / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.4444, allocations: 95.86 kB / 1.36 GB, free: 0.7109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.4446, allocations: 9.406 kB / 1.36 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.4482, allocations: 1.846 MB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.4486, allocations: 0.6846 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.019e-05/0.4487, allocations: 19.98 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.4488, allocations: 19.42 kB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.4488, allocations: 0 / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03062/0.4794, allocations: 2.091 MB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.26, allocations: 6.844 kB / 1.365 GB, free: 12.05 MB / 1.061 GB " [Timeout remaining time 289] (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/jenkins1/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: 18.692556386999968]