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.001433/0.001433, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002031/0.002031, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.805 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.886/2.886, allocations: 476 MB / 0.7699 GB, free: 4.707 MB / 0.6231 GB " [Timeout remaining time 176] 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="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"}) [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.002154/0.002154, allocations: 67.03 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.347, allocations: 169.9 MB / 1.283 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002661/0.3497, allocations: 1.49 MB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003904/0.3501, allocations: 135.6 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.3501, allocations: 3.938 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.3502, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.3502, allocations: 7.922 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.3505, allocations: 31.91 kB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3506, allocations: 43.84 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3507, allocations: 8 kB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.183e-05/0.3507, allocations: 23.97 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.901e-05/0.3508, allocations: 27.86 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3508, allocations: 4 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.28e-05/0.3509, allocations: 31.97 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.3509, allocations: 4 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.3509, allocations: 19.88 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.3511, allocations: 73.47 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3511, allocations: 0 / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3511, allocations: 0 / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3511, allocations: 0 / 1.284 GB, free: 10.48 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.0004527/0.3515, allocations: 282.2 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3516, allocations: 16.02 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.3516, allocations: 34.75 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.3527, allocations: 208.5 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.3528, allocations: 114.5 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.3528, allocations: 8.375 kB / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3528, allocations: 384 / 1.285 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005642/0.3534, allocations: 198 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3534, allocations: 3.938 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3534, allocations: 7.875 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3534, allocations: 0 / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008498/0.3543, allocations: 283.6 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009255/0.3552, allocations: 388.5 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001133/0.3563, allocations: 290.1 kB / 1.286 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.3567, allocations: 100.8 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.3567, allocations: 0 / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3568, allocations: 38.55 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3568, allocations: 4 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.001177/0.3579, allocations: 305.3 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.358, allocations: 51.41 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3581, allocations: 125.7 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.3581, allocations: 25.7 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.3582, allocations: 92.09 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.3582, allocations: 7.938 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.3582, allocations: 17.72 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3584, allocations: 322.8 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/0.3588, allocations: 95.88 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.3591, allocations: 91.88 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006726/0.3598, allocations: 172.6 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3598, allocations: 0 / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007767/0.3605, allocations: 213.4 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3606, allocations: 8 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3606, allocations: 3.938 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3606, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.3608, allocations: 39.94 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3608, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.361, allocations: 31.89 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.361, allocations: 0 / 1.288 GB, free: 6.77 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 0.0001036/0.3611, allocations: 125.8 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.3612, allocations: 7.953 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.3612, allocations: 11.94 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3612, allocations: 0 / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3612, allocations: 0 / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3612, allocations: 3.984 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3615, allocations: 164.7 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3615, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.3617, allocations: 35.95 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3617, allocations: 4.328 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.3617, allocations: 7.984 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3617, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3617, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008011/0.3625, allocations: 319.2 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.3625, allocations: 7.953 kB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.3625, allocations: 0 / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.3628, allocations: 27.95 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.3628, allocations: 3.984 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3628, allocations: 4 kB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.3629, allocations: 99.58 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3629, allocations: 0 / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002349/0.3631, allocations: 15.94 kB / 1.289 GB, free: 5.875 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.001147/0.3643, allocations: 0.8411 MB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007733/0.365, allocations: 195.8 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.365, allocations: 0 / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.3654, allocations: 99.86 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.3657, allocations: 6.656 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.3693, allocations: 1.855 MB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.964e-05/0.3693, allocations: 75.23 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.978e-05/0.3694, allocations: 23.98 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/0.3695, allocations: 15.42 kB / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of SimCode: time 7.52e-07/0.3695, allocations: 0 / 1.292 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02923/0.3987, allocations: 2.546 MB / 1.294 GB, free: 236 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.85, allocations: 6.312 kB / 1.294 GB, free: 232 kB / 0.9825 GB " [Timeout remaining time 287] (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.716055849101394]