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.001328/0.001328, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001436/0.001436, allocations: 157.6 kB / 23.01 MB, free: 4.605 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.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 2.792/2.792, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 177] 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.002136/0.002136, allocations: 64.19 kB / 0.9819 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8542/0.8563, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002083/0.8584, allocations: 1.487 MB / 1.155 GB, free: 32.31 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003419/0.8587, allocations: 137.8 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.8588, allocations: 0 / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.128e-05/0.8588, allocations: 9.547 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.411e-05/0.8589, allocations: 3.938 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.8591, allocations: 32.55 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.8591, allocations: 42.25 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.8592, allocations: 16.73 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.8593, allocations: 16.34 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.767e-05/0.8593, allocations: 22.67 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.8593, allocations: 2.562 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.538e-05/0.8594, allocations: 42.27 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.8594, allocations: 6.75 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.397e-05/0.8595, allocations: 20.56 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.8596, allocations: 58.95 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.8596, allocations: 0 / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of FrontEnd: time 7.01e-07/0.8596, allocations: 0 / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.8596, allocations: 0 / 1.156 GB, free: 32.1 MB / 1.076 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.0003442/0.8599, allocations: 290 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.8599, allocations: 8.219 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009971/0.8609, allocations: 216.1 kB / 1.156 GB, free: 31.81 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.53e-05/0.861, allocations: 117.3 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.861, allocations: 384 / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.861, allocations: 3.438 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005043/0.8616, allocations: 198.5 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8616, allocations: 4.125 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.8616, allocations: 6.5 kB / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8616, allocations: 0 / 1.157 GB, free: 31.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007936/0.8624, allocations: 279.6 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007715/0.8631, allocations: 370.7 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.8642, allocations: 288.9 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003388/0.8645, allocations: 96.61 kB / 1.158 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.8646, allocations: 0 / 1.158 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.8646, allocations: 33.16 kB / 1.158 GB, free: 31.2 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.8646, allocations: 0 / 1.158 GB, free: 31.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.001102/0.8657, allocations: 312.2 kB / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.8657, allocations: 51.41 kB / 1.158 GB, free: 31.06 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.809e-05/0.8658, allocations: 114.2 kB / 1.158 GB, free: 30.95 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.8658, allocations: 25.7 kB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.8658, allocations: 91.44 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.8658, allocations: 11.28 kB / 1.158 GB, free: 30.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.8659, allocations: 15.56 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.8659, allocations: 320.7 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.8663, allocations: 88 kB / 1.159 GB, free: 30.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.8666, allocations: 102.2 kB / 1.159 GB, free: 30.46 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.8672, allocations: 174.9 kB / 1.159 GB, free: 30.42 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8672, allocations: 0 / 1.159 GB, free: 30.42 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006964/0.8679, allocations: 217 kB / 1.159 GB, free: 30.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.8679, allocations: 5.219 kB / 1.159 GB, free: 30.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.8679, allocations: 4.266 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.868, allocations: 3.094 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.8682, allocations: 36.75 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.8682, allocations: 2.594 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.8684, allocations: 27.56 kB / 1.159 GB, free: 30.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.8684, allocations: 0 / 1.159 GB, free: 30.35 MB / 1.076 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 5.782e-05/0.8685, allocations: 119.7 kB / 1.159 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.8685, allocations: 14.11 kB / 1.159 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.8685, allocations: 8 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.8685, allocations: 7 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.8685, allocations: 3.938 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8685, allocations: 0 / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.8687, allocations: 150.5 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8687, allocations: 0 / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.8689, allocations: 31.92 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.8689, allocations: 4 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.8689, allocations: 0 / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.8689, allocations: 2.781 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.8689, allocations: 0 / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007335/0.8697, allocations: 313.1 kB / 1.16 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.8697, allocations: 0 / 1.16 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.8697, allocations: 2.75 kB / 1.16 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.8699, allocations: 31.89 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.87, allocations: 7.562 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.87, allocations: 2.812 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.648e-05/0.87, allocations: 81.16 kB / 1.16 GB, free: 29.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.87, allocations: 3.938 kB / 1.16 GB, free: 29.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002377/0.8702, allocations: 19.02 kB / 1.16 GB, free: 29.79 MB / 1.076 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 9.191e-05/0.8703, allocations: 98.22 kB / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007303/0.8711, allocations: 193.1 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.8711, allocations: 2.844 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/0.8714, allocations: 95.06 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.8717, allocations: 10.91 kB / 1.16 GB, free: 29.66 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008245/0.8725, allocations: 263.2 kB / 1.161 GB, free: 29.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.382e-05/0.8725, allocations: 72.8 kB / 1.161 GB, free: 29.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.821e-05/0.8726, allocations: 18.45 kB / 1.161 GB, free: 29.44 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.8726, allocations: 11.66 kB / 1.161 GB, free: 29.43 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.8726, allocations: 0 / 1.161 GB, free: 29.43 MB / 1.076 GB Notification: Performance of Templates: time 0.003177/0.8758, allocations: 0.9504 MB / 1.162 GB, free: 29.32 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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: 8.47341808595229]