Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001725/0.001725, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002197/0.002197, allocations: 210.5 kB / 22.99 MB, free: 4.957 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.635/1.635, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.354/3.354, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Examples.SmoothMin") [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.002911/0.002911, allocations: 73.95 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4201, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002804/0.4229, allocations: 1.482 MB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00041/0.4233, allocations: 135.6 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.064e-05/0.4233, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.4234, allocations: 0 / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.4234, allocations: 3.938 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.4237, allocations: 39.91 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.4238, allocations: 47.83 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4239, allocations: 12 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.635e-05/0.4239, allocations: 19.92 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.424, allocations: 15.92 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.424, allocations: 4 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.4241, allocations: 39.91 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.4241, allocations: 4 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.4242, allocations: 23.84 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.4243, allocations: 55.81 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4243, allocations: 8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4243, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.4243, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 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.0004664/0.4248, allocations: 294 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4248, allocations: 8.031 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.4259, allocations: 216.5 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.426, allocations: 126.3 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.426, allocations: 384 / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.4261, allocations: 4.375 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006161/0.4267, allocations: 194 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4267, allocations: 192 / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.4267, allocations: 3.938 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4267, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.4276, allocations: 283.6 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009799/0.4286, allocations: 361.1 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.4297, allocations: 294.2 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.4301, allocations: 100.7 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.4301, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.4301, allocations: 30.56 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.4301, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.001218/0.4313, allocations: 305.3 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.4314, allocations: 59.34 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4315, allocations: 109.8 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4315, allocations: 25.7 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.4316, allocations: 92.08 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.4316, allocations: 15.95 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.4317, allocations: 13.72 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4318, allocations: 326.8 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.4322, allocations: 91.88 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.4325, allocations: 91.88 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/0.4332, allocations: 172.6 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4332, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007642/0.4339, allocations: 225.3 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.4339, allocations: 5.719 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.434, allocations: 3.984 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.434, allocations: 0 / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.4342, allocations: 31.95 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4342, allocations: 3.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.4344, allocations: 27.95 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4344, allocations: 7.984 kB / 1.332 GB, free: 11.42 MB / 1.029 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.0001168/0.4345, allocations: 118.3 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.4346, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.55e-05/0.4346, allocations: 8.328 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4346, allocations: 4 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.4346, allocations: 3.984 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.4347, allocations: 7.922 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.4349, allocations: 153.1 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4349, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.4351, allocations: 31.95 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.4351, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4351, allocations: 4 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.4351, allocations: 3.984 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4351, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000797/0.4359, allocations: 315.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-06/0.4359, allocations: 0 / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.436, allocations: 4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.4362, allocations: 23.95 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.4362, allocations: 11.98 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4362, allocations: 0 / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.4363, allocations: 79.28 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4363, allocations: 4 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002372/0.4365, allocations: 23.95 kB / 1.333 GB, free: 10.56 MB / 1.029 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.0001484/0.4367, allocations: 99.23 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007555/0.4374, allocations: 195.7 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4374, allocations: 0 / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.4378, allocations: 99.86 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.4381, allocations: 11.94 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009786/0.439, allocations: 257.3 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.67e-05/0.4391, allocations: 71.33 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.037e-05/0.4392, allocations: 23.98 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.4393, allocations: 11.38 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of SimCode: time 7.71e-07/0.4393, allocations: 0 / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of Templates: time 0.003893/0.4432, allocations: 0.9952 MB / 1.335 GB, free: 8.766 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.661192308005411]