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.001811/0.001811, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002165/0.002165, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.519/1.519, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.849/2.849, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 67.91 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8005/0.8027, allocations: 168.7 MB / 1.274 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002801/0.8055, allocations: 1.481 MB / 1.275 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004519/0.806, allocations: 147.5 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.806, allocations: 0 / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.8061, allocations: 7.922 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.852e-05/0.8062, allocations: 7.938 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.8064, allocations: 31.95 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.8065, allocations: 39.86 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.8066, allocations: 15.92 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.8067, allocations: 12 kB / 1.276 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.739e-05/0.8068, allocations: 27.84 kB / 1.276 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.8068, allocations: 4 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.533e-05/0.8069, allocations: 27.98 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.8069, allocations: 15.97 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.8069, allocations: 15.88 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.8071, allocations: 70.45 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8071, allocations: 0 / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8071, allocations: 0 / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.8071, allocations: 0 / 1.276 GB, free: 2.68 MB / 0.9669 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.0005687/0.8077, allocations: 363.2 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.8077, allocations: 12.03 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.8089, allocations: 216.5 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.8091, allocations: 176.3 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.8091, allocations: 384 / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.8091, allocations: 4.375 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.8098, allocations: 197.9 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.8098, allocations: 4.188 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.8098, allocations: 3.938 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.8098, allocations: 4 kB / 1.277 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009402/0.8107, allocations: 279.6 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.8118, allocations: 433.4 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.813, allocations: 294.1 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003921/0.8134, allocations: 96.8 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.8134, allocations: 4.062 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.8135, allocations: 34.56 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 2.394e-06/0.8135, allocations: 0 / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.001305/0.8148, allocations: 313.3 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.8148, allocations: 51.41 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.8149, allocations: 117.8 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.815, allocations: 25.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.815, allocations: 96.11 kB / 1.279 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.8151, allocations: 15.84 kB / 1.279 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.8151, allocations: 13.72 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8152, allocations: 326.8 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.8156, allocations: 91.88 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003887/0.816, allocations: 95.88 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/0.8168, allocations: 172.6 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8168, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008193/0.8176, allocations: 217.3 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.8176, allocations: 10.19 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.8176, allocations: 3.984 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.8177, allocations: 0 / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.8179, allocations: 31.95 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.8179, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.8182, allocations: 39.91 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.8182, allocations: 3.984 kB / 1.279 GB, free: 14.78 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.0001042/0.8183, allocations: 113.8 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.8183, allocations: 384 / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.8184, allocations: 11.91 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.8184, allocations: 0 / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8184, allocations: 3.984 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.8184, allocations: 11.94 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.8186, allocations: 209.5 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8186, allocations: 0 / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.8189, allocations: 31.95 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.8189, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.8189, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.8189, allocations: 7.984 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8189, allocations: 3.938 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008673/0.8198, allocations: 315.5 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.8198, allocations: 81.06 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.8198, allocations: 4.047 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.8201, allocations: 35.94 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.8201, allocations: 3.984 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.8201, allocations: 4 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.695e-05/0.8202, allocations: 91.27 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8202, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002453/0.8205, allocations: 12 kB / 1.28 GB, free: 13.76 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.0001442/0.8206, allocations: 103.7 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008642/0.8215, allocations: 203.7 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8215, allocations: 0 / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.8219, allocations: 91.88 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.8221, allocations: 19.88 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.8231, allocations: 265.2 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.8234, allocations: 0.6846 MB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.868e-05/0.8235, allocations: 19.98 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.692e-05/0.8236, allocations: 15.42 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.8236, allocations: 0 / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of Templates: time 0.003562/0.8271, allocations: 0.9431 MB / 1.283 GB, free: 11.37 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] 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: 8.814492006320506]