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.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.001333/0.001333, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00159/0.00159, allocations: 218.2 kB / 23.04 MB, free: 5.07 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.797/2.797, allocations: 476.7 MB / 0.7714 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="cs",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.002144/0.002144, allocations: 65.27 kB / 1.118 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4289, allocations: 169.9 MB / 1.284 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003495/0.4324, allocations: 1.495 MB / 1.286 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000516/0.433, allocations: 147.5 kB / 1.286 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.433, allocations: 0 / 1.286 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.838e-05/0.4331, allocations: 11.94 kB / 1.286 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.4332, allocations: 3.938 kB / 1.286 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.4335, allocations: 27.91 kB / 1.286 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.4336, allocations: 43.84 kB / 1.286 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.4338, allocations: 16.27 kB / 1.286 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.4338, allocations: 15.92 kB / 1.286 GB, free: 1.992 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.4339, allocations: 23.92 kB / 1.286 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.4339, allocations: 4 kB / 1.286 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.434, allocations: 39.91 kB / 1.286 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.4341, allocations: 8 kB / 1.286 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.4341, allocations: 19.88 kB / 1.286 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.4343, allocations: 67.72 kB / 1.286 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4343, allocations: 0 / 1.286 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4343, allocations: 0 / 1.286 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.4343, allocations: 0 / 1.286 GB, free: 1.832 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.0005311/0.4348, allocations: 282.2 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.4349, allocations: 12.03 kB / 1.286 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.345e-05/0.4349, allocations: 4.172 kB / 1.286 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.4349, allocations: 42.73 kB / 1.286 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.4361, allocations: 212.5 kB / 1.287 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4362, allocations: 114.4 kB / 1.287 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.4362, allocations: 4.375 kB / 1.287 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.4363, allocations: 4.375 kB / 1.287 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.4369, allocations: 201.8 kB / 1.287 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.4369, allocations: 0 / 1.287 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.4369, allocations: 0 / 1.287 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4369, allocations: 0 / 1.287 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008896/0.4378, allocations: 279.6 kB / 1.287 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.4388, allocations: 408.4 kB / 1.288 GB, free: 192 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/0.4399, allocations: 286.2 kB / 1.288 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003671/0.4403, allocations: 100.8 kB / 1.288 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.4403, allocations: 0 / 1.288 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.4404, allocations: 38.55 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4404, allocations: 3.938 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.001227/0.4416, allocations: 317.2 kB / 1.288 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.4416, allocations: 51.41 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4417, allocations: 113.8 kB / 1.288 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.4418, allocations: 29.7 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.4418, allocations: 92.12 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.4419, allocations: 7.953 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.4419, allocations: 18.09 kB / 1.289 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.442, allocations: 318.8 kB / 1.289 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.4424, allocations: 95.88 kB / 1.289 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.4428, allocations: 95.88 kB / 1.289 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/0.4434, allocations: 176.5 kB / 1.289 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4434, allocations: 0 / 1.289 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007669/0.4442, allocations: 213.4 kB / 1.289 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4442, allocations: 8 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4442, allocations: 0 / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4442, allocations: 0 / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.4445, allocations: 43.94 kB / 1.289 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4445, allocations: 0 / 1.289 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.4447, allocations: 35.89 kB / 1.289 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.4447, allocations: 3.938 kB / 1.289 GB, free: 14.1 MB / 0.9981 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.0001257/0.4448, allocations: 119.1 kB / 1.29 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.4449, allocations: 3.953 kB / 1.29 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.4449, allocations: 12.33 kB / 1.29 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4449, allocations: 0 / 1.29 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4449, allocations: 0 / 1.29 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.445, allocations: 11.97 kB / 1.29 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.4452, allocations: 172.7 kB / 1.29 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.4452, allocations: 4 kB / 1.29 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.4454, allocations: 35.88 kB / 1.29 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4454, allocations: 0 / 1.29 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4455, allocations: 4 kB / 1.29 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4455, allocations: 4 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4455, allocations: 3.938 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008469/0.4463, allocations: 311.2 kB / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.4463, allocations: 15.95 kB / 1.29 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.4464, allocations: 0 / 1.29 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.4466, allocations: 27.95 kB / 1.29 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.4466, allocations: 3.984 kB / 1.29 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4466, allocations: 4 kB / 1.29 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.4467, allocations: 99.2 kB / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.4467, allocations: 0 / 1.29 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000245/0.447, allocations: 12 kB / 1.29 GB, free: 13.2 MB / 0.9981 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.001217/0.4482, allocations: 0.8414 MB / 1.291 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008135/0.449, allocations: 191.7 kB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.449, allocations: 3.938 kB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.4494, allocations: 107.8 kB / 1.291 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.4496, allocations: 4 kB / 1.291 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.4535, allocations: 1.848 MB / 1.293 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.4539, allocations: 0.6924 MB / 1.294 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.925e-05/0.4539, allocations: 19.98 kB / 1.294 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/0.454, allocations: 15.44 kB / 1.294 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of SimCode: time 8.92e-07/0.454, allocations: 0 / 1.294 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.4847, allocations: 2.112 MB / 1.296 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.69, allocations: 8.562 kB / 1.296 GB, free: 7.383 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.669682936975732]