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.001667/0.001667, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001961/0.001961, allocations: 215 kB / 20.13 MB, free: 2.949 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.608/1.608, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.105/3.105, allocations: 0.5003 GB / 0.8026 GB, free: 6.773 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_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.00315/0.00315, allocations: 67.89 kB / 1.165 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.209, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00284/1.212, allocations: 1.482 MB / 1.342 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000469/1.213, allocations: 146 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/1.213, allocations: 4.969 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.266e-05/1.213, allocations: 1.031 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.081e-05/1.213, allocations: 6.266 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/1.213, allocations: 37.36 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/1.213, allocations: 42.16 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/1.213, allocations: 15.39 kB / 1.342 GB, free: 15.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/1.213, allocations: 17.3 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/1.213, allocations: 30.06 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/1.213, allocations: 3.281 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/1.213, allocations: 29.38 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/1.214, allocations: 15.59 kB / 1.342 GB, free: 15.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.953e-05/1.214, allocations: 17.95 kB / 1.342 GB, free: 15.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001557/1.214, allocations: 67.67 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.214, allocations: 1.125 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/1.214, allocations: 0 / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.136e-05/1.214, allocations: 0 / 1.342 GB, free: 15.02 MB / 1.061 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.0004571/1.214, allocations: 370.3 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.214, allocations: 9.938 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.389e-05/1.214, allocations: 1.125 kB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.488e-05/1.214, allocations: 33.11 kB / 1.342 GB, free: 14.6 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/1.215, allocations: 213.5 kB / 1.343 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/1.216, allocations: 168.2 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/1.216, allocations: 1.781 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/1.216, allocations: 10.72 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006338/1.216, allocations: 195.7 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.216, allocations: 0 / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/1.216, allocations: 5.062 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.216, allocations: 0.9062 kB / 1.343 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/1.217, allocations: 282 kB / 1.343 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009403/1.218, allocations: 431.8 kB / 1.344 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/1.219, allocations: 285.1 kB / 1.344 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/1.22, allocations: 104.7 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/1.22, allocations: 4.812 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.22, allocations: 31.75 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/1.22, allocations: 4 kB / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.001342/1.221, allocations: 315.7 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/1.221, allocations: 55.41 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.516e-05/1.221, allocations: 123.6 kB / 1.345 GB, free: 13.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/1.221, allocations: 25.7 kB / 1.345 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/1.221, allocations: 91.73 kB / 1.345 GB, free: 13.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/1.221, allocations: 10.92 kB / 1.345 GB, free: 13.45 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/1.221, allocations: 20.03 kB / 1.345 GB, free: 13.43 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.346e-05/1.221, allocations: 321.9 kB / 1.345 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/1.222, allocations: 95.81 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/1.222, allocations: 93.05 kB / 1.345 GB, free: 13.08 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/1.223, allocations: 172.5 kB / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.223, allocations: 0 / 1.345 GB, free: 13.04 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008042/1.224, allocations: 215.8 kB / 1.346 GB, free: 12.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.224, allocations: 9.781 kB / 1.346 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/1.224, allocations: 4 kB / 1.346 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.224, allocations: 1.188 kB / 1.346 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/1.224, allocations: 33.27 kB / 1.346 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/1.224, allocations: 0 / 1.346 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/1.224, allocations: 28.3 kB / 1.346 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/1.224, allocations: 6.016 kB / 1.346 GB, free: 12.97 MB / 1.061 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 6.523e-05/1.224, allocations: 119.8 kB / 1.346 GB, free: 12.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/1.224, allocations: 7.359 kB / 1.346 GB, free: 12.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/1.224, allocations: 11.36 kB / 1.346 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/1.224, allocations: 0 / 1.346 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.225, allocations: 1.984 kB / 1.346 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/1.225, allocations: 0 / 1.346 GB, free: 12.83 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/1.225, allocations: 209 kB / 1.346 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.225, allocations: 0 / 1.346 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/1.225, allocations: 37.69 kB / 1.346 GB, free: 12.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.225, allocations: 3.938 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/1.225, allocations: 6.062 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.225, allocations: 0.8906 kB / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.225, allocations: 0 / 1.346 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008326/1.226, allocations: 315.9 kB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/1.226, allocations: 79.19 kB / 1.346 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/1.226, allocations: 2.078 kB / 1.346 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/1.226, allocations: 26.08 kB / 1.346 GB, free: 12.35 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/1.226, allocations: 7.25 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/1.226, allocations: 1.984 kB / 1.346 GB, free: 12.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.553e-05/1.226, allocations: 106.5 kB / 1.347 GB, free: 12.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.226, allocations: 0 / 1.347 GB, free: 12.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002422/1.226, allocations: 12.38 kB / 1.347 GB, free: 12.25 MB / 1.061 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.001018/1.227, allocations: 0.8386 MB / 1.347 GB, free: 11.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008569/1.228, allocations: 196.6 kB / 1.348 GB, free: 11.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.228, allocations: 0 / 1.348 GB, free: 11.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004295/1.229, allocations: 103.3 kB / 1.348 GB, free: 11.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/1.229, allocations: 7.328 kB / 1.348 GB, free: 11.51 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/1.233, allocations: 1.854 MB / 1.349 GB, free: 10.21 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000126/1.233, allocations: 0.6868 MB / 1.35 GB, free: 9.512 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.105e-05/1.233, allocations: 20.72 kB / 1.35 GB, free: 9.508 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/1.233, allocations: 16.28 kB / 1.35 GB, free: 9.496 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/1.233, allocations: 0 / 1.35 GB, free: 9.496 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/1.251, allocations: 2.014 MB / 1.352 GB, free: 9.062 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/9.594, allocations: 14.08 kB / 1.352 GB, free: 9.051 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 16.686420671991073]