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.001874/0.001874, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002431/0.002431, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.563/1.563, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.835/2.835, allocations: 476.7 MB / 0.7678 GB, free: 9.43 MB / 0.6075 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="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.002157/0.002157, allocations: 71.89 kB / 1.113 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9002/0.9023, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003272/0.9056, allocations: 1.481 MB / 1.28 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000527/0.9061, allocations: 154.2 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.9062, allocations: 1.125 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.398e-05/0.9062, allocations: 0.7969 kB / 1.281 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.9063, allocations: 9.75 kB / 1.281 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.9066, allocations: 32.94 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.9068, allocations: 43.09 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.9069, allocations: 18.8 kB / 1.281 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.907, allocations: 20.91 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.911e-05/0.907, allocations: 23 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.9071, allocations: 4.125 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.9072, allocations: 27.89 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.9072, allocations: 11.73 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.9073, allocations: 21.95 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.9075, allocations: 68.38 kB / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.9075, allocations: 0 / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9075, allocations: 0 / 1.281 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.9075, allocations: 1.094 kB / 1.281 GB, free: 10.5 MB / 0.9981 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.0006518/0.9081, allocations: 361.9 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.9082, allocations: 9.531 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.489e-05/0.9082, allocations: 5.281 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.9082, allocations: 33.98 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.9095, allocations: 212.3 kB / 1.281 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.9097, allocations: 172.1 kB / 1.282 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.9098, allocations: 5.703 kB / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.9098, allocations: 14.75 kB / 1.282 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.9105, allocations: 192.4 kB / 1.282 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.9105, allocations: 0.5312 kB / 1.282 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.9105, allocations: 0.6562 kB / 1.282 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.9105, allocations: 0.5312 kB / 1.282 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.9116, allocations: 281.8 kB / 1.282 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.9127, allocations: 444.4 kB / 1.282 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.914, allocations: 284.8 kB / 1.283 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.9144, allocations: 105.6 kB / 1.283 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.9144, allocations: 0 / 1.283 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.9144, allocations: 33.02 kB / 1.283 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.9144, allocations: 0 / 1.283 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.001376/0.9158, allocations: 318.5 kB / 1.283 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.002e-05/0.9158, allocations: 51.41 kB / 1.283 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.916, allocations: 123.5 kB / 1.283 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.916, allocations: 25.7 kB / 1.283 GB, free: 9.023 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.9161, allocations: 95.64 kB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.9161, allocations: 6.391 kB / 1.283 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/0.9161, allocations: 20.33 kB / 1.283 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.9164, allocations: 317.8 kB / 1.284 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.9169, allocations: 95.27 kB / 1.284 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003944/0.9173, allocations: 97.78 kB / 1.284 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007563/0.918, allocations: 168.9 kB / 1.284 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.918, allocations: 4 kB / 1.284 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000865/0.9189, allocations: 220 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.9189, allocations: 5.562 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9189, allocations: 0 / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.9189, allocations: 0.7031 kB / 1.284 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.9192, allocations: 37.11 kB / 1.284 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.9192, allocations: 1.375 kB / 1.284 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.9194, allocations: 27.91 kB / 1.284 GB, free: 8.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.9195, allocations: 9.953 kB / 1.284 GB, free: 8.445 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.0001325/0.9196, allocations: 115.7 kB / 1.285 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.9196, allocations: 7.453 kB / 1.285 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.9197, allocations: 10.14 kB / 1.285 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9197, allocations: 1.375 kB / 1.285 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9197, allocations: 336 / 1.285 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.9197, allocations: 1.922 kB / 1.285 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003246/0.92, allocations: 211.9 kB / 1.285 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.92, allocations: 1.156 kB / 1.285 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.9203, allocations: 36.92 kB / 1.285 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/0.9203, allocations: 8.953 kB / 1.285 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.9203, allocations: 7.844 kB / 1.285 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.9203, allocations: 1.219 kB / 1.285 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9203, allocations: 0 / 1.285 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.9212, allocations: 313.5 kB / 1.285 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.859e-05/0.9213, allocations: 83.2 kB / 1.285 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.9213, allocations: 1.156 kB / 1.285 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.9216, allocations: 26.66 kB / 1.285 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.9216, allocations: 4.188 kB / 1.285 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.9216, allocations: 2 kB / 1.285 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.844e-05/0.9217, allocations: 106.6 kB / 1.285 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9217, allocations: 0 / 1.285 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002478/0.9219, allocations: 16.44 kB / 1.285 GB, free: 7.723 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.001288/0.9232, allocations: 0.8385 MB / 1.286 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008901/0.9241, allocations: 191.9 kB / 1.286 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.9241, allocations: 1.344 kB / 1.286 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/0.9246, allocations: 107.2 kB / 1.286 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.9249, allocations: 10.05 kB / 1.286 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004554/0.9294, allocations: 1.85 MB / 1.288 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.9298, allocations: 0.6909 MB / 1.289 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.947e-05/0.9299, allocations: 21.3 kB / 1.289 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.93, allocations: 16.05 kB / 1.289 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of SimCode: time 1.312e-06/0.93, allocations: 0 / 1.289 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.9507, allocations: 2.002 MB / 1.291 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.709/9.66, allocations: 9.438 kB / 1.291 GB, free: 4.52 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.1680548239965]