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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 103.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.827/2.827, allocations: 476.7 MB / 0.7611 GB, free: 15.72 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 67.89 kB / 1.104 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 168.7 MB / 1.269 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00299/1.08, allocations: 1.476 MB / 1.27 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0004628/1.081, allocations: 142.9 kB / 1.27 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/1.081, allocations: 4.719 kB / 1.27 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.298e-05/1.081, allocations: 2.734 kB / 1.27 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/1.081, allocations: 5.375 kB / 1.27 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/1.081, allocations: 33.31 kB / 1.27 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001252/1.081, allocations: 42.59 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/1.081, allocations: 19.05 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/1.081, allocations: 12.88 kB / 1.27 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/1.081, allocations: 21.86 kB / 1.27 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/1.082, allocations: 8.094 kB / 1.27 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/1.082, allocations: 32.73 kB / 1.27 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/1.082, allocations: 11.92 kB / 1.271 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/1.082, allocations: 25.95 kB / 1.271 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/1.082, allocations: 64.3 kB / 1.271 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.082, allocations: 4.547 kB / 1.271 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/1.082, allocations: 0 / 1.271 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.082, allocations: 1.031 kB / 1.271 GB, free: 6.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.000512/1.082, allocations: 365.5 kB / 1.271 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.082, allocations: 13.5 kB / 1.271 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/1.082, allocations: 33.67 kB / 1.271 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/1.084, allocations: 212.7 kB / 1.271 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.588e-05/1.084, allocations: 168.2 kB / 1.271 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/1.084, allocations: 5.875 kB / 1.271 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/1.084, allocations: 7.031 kB / 1.271 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/1.084, allocations: 195.7 kB / 1.272 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.084, allocations: 4.625 kB / 1.272 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/1.084, allocations: 0.7812 kB / 1.272 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.084, allocations: 1.031 kB / 1.272 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/1.085, allocations: 281.4 kB / 1.272 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009247/1.086, allocations: 434.1 kB / 1.272 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/1.087, allocations: 285.7 kB / 1.273 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/1.088, allocations: 102.4 kB / 1.273 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/1.088, allocations: 1.062 kB / 1.273 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/1.088, allocations: 35.44 kB / 1.273 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/1.088, allocations: 3.938 kB / 1.273 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.001167/1.089, allocations: 310.8 kB / 1.273 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/1.089, allocations: 52.31 kB / 1.273 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/1.089, allocations: 119.1 kB / 1.273 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/1.089, allocations: 29.7 kB / 1.273 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/1.089, allocations: 92.09 kB / 1.273 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/1.089, allocations: 14.27 kB / 1.273 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/1.089, allocations: 20.34 kB / 1.273 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.125e-05/1.089, allocations: 318.4 kB / 1.274 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/1.09, allocations: 99.53 kB / 1.274 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/1.09, allocations: 98.11 kB / 1.274 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/1.091, allocations: 176.6 kB / 1.274 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.091, allocations: 0 / 1.274 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007587/1.091, allocations: 211.2 kB / 1.274 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.091, allocations: 6.062 kB / 1.274 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.091, allocations: 0 / 1.274 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/1.091, allocations: 4.688 kB / 1.274 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/1.092, allocations: 38.89 kB / 1.274 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/1.092, allocations: 0 / 1.274 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/1.092, allocations: 30.77 kB / 1.274 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/1.092, allocations: 1.984 kB / 1.274 GB, free: 4.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 7.755e-05/1.092, allocations: 119.1 kB / 1.274 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/1.092, allocations: 3.734 kB / 1.274 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/1.092, allocations: 10.91 kB / 1.274 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.092, allocations: 1 kB / 1.274 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.092, allocations: 0.875 kB / 1.274 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.092, allocations: 1.125 kB / 1.274 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/1.092, allocations: 208 kB / 1.275 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.092, allocations: 1.031 kB / 1.275 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/1.093, allocations: 32.42 kB / 1.275 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/1.093, allocations: 4.719 kB / 1.275 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/1.093, allocations: 1.953 kB / 1.275 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.093, allocations: 1.062 kB / 1.275 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.093, allocations: 0 / 1.275 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000722/1.093, allocations: 321.5 kB / 1.275 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/1.093, allocations: 86.5 kB / 1.275 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/1.093, allocations: 8.75 kB / 1.275 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/1.094, allocations: 29.2 kB / 1.275 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/1.094, allocations: 1.25 kB / 1.275 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/1.094, allocations: 1.188 kB / 1.275 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.71e-05/1.094, allocations: 93.55 kB / 1.275 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.094, allocations: 4.844 kB / 1.275 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002906/1.094, allocations: 20.53 kB / 1.275 GB, free: 3.727 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.0009519/1.095, allocations: 0.839 MB / 1.276 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007854/1.096, allocations: 193.3 kB / 1.276 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.096, allocations: 4 kB / 1.276 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003815/1.096, allocations: 99.83 kB / 1.276 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/1.096, allocations: 11.05 kB / 1.276 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/1.1, allocations: 1.84 MB / 1.278 GB, free: 17.69 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/1.1, allocations: 0.6917 MB / 1.279 GB, free: 16.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.209e-05/1.1, allocations: 20.36 kB / 1.279 GB, free: 16.98 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/1.1, allocations: 16.3 kB / 1.279 GB, free: 16.97 MB / 1.014 GB Notification: Performance of SimCode: time 8.42e-07/1.1, allocations: 0 / 1.279 GB, free: 16.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/1.126, allocations: 1.97 MB / 1.281 GB, free: 16.55 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/9.348, allocations: 10.48 kB / 1.281 GB, free: 16.54 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.654336612671614]