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.002358/0.002358, allocations: 87.69 kB / 20.24 MB, free: 4.18 MB / 18.57 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.002443/0.002443, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3/3, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.256e-05/3.495e-05, allocations: 4.844 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00366/0.003695, allocations: 1.493 MB / 0.8123 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005737/0.004269, allocations: 135.6 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.001e-05/0.004309, allocations: 0.9062 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 7.009e-05/0.004379, allocations: 3.938 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.879e-05/0.004467, allocations: 5.578 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.004773, allocations: 35.83 kB / 0.8124 GB, free: 424 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.00488, allocations: 39.92 kB / 0.8125 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.005009, allocations: 12.92 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.005084, allocations: 27.91 kB / 0.8125 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.25e-05/0.005136, allocations: 15.98 kB / 0.8125 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.005159, allocations: 4.781 kB / 0.8125 GB, free: 324 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.00527, allocations: 31.91 kB / 0.8126 GB, free: 292 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.005298, allocations: 9.625 kB / 0.8126 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.00534, allocations: 19.97 kB / 0.8126 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002353/0.005576, allocations: 71.72 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.00558, allocations: 0 / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of FrontEnd: time 2.034e-06/0.005583, allocations: 0 / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.005588, allocations: 1.531 kB / 0.8127 GB, free: 192 kB / 0.7605 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.0007157/0.006304, allocations: 380.2 kB / 0.813 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.006354, allocations: 8.031 kB / 0.813 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/0.007536, allocations: 154.4 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.007708, allocations: 117.2 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.007733, allocations: 12.36 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.007753, allocations: 1.188 kB / 0.8133 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/0.008323, allocations: 162.6 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.008335, allocations: 1.562 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.008355, allocations: 4.312 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.00836, allocations: 384 / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.009158, allocations: 214.3 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.01025, allocations: 384.5 kB / 0.814 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.01129, allocations: 218.2 kB / 0.8143 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.01164, allocations: 79.61 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.01167, allocations: 12.44 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.01171, allocations: 33.98 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.01171, allocations: 0 / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0008663/0.01257, allocations: 224.8 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.01262, allocations: 55.41 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.01286, allocations: 169.9 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.01289, allocations: 25.7 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.01298, allocations: 143.5 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.01301, allocations: 16.98 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.01307, allocations: 23.38 kB / 0.815 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002755/0.01335, allocations: 0.4884 MB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.01359, allocations: 68.98 kB / 0.8155 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.01381, allocations: 64.97 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.01425, allocations: 125.9 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01426, allocations: 0 / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005194/0.01477, allocations: 168.2 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.01479, allocations: 7.984 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.0148, allocations: 0 / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01482, allocations: 7.938 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.01501, allocations: 21.53 kB / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01502, allocations: 0 / 0.8159 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.01515, allocations: 11.98 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.01516, allocations: 4.531 kB / 0.8159 GB, free: 12.66 MB / 0.7761 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.0001413/0.0153, allocations: 161.1 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.01534, allocations: 7.938 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.01538, allocations: 9.344 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.01539, allocations: 4 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01539, allocations: 5.094 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.01539, allocations: 0 / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.01562, allocations: 148.6 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.01562, allocations: 0.6562 kB / 0.8163 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.01579, allocations: 24.62 kB / 0.8163 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.0158, allocations: 7.875 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.01581, allocations: 11.7 kB / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.01582, allocations: 0 / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01582, allocations: 0 / 0.8163 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000644/0.01646, allocations: 311.7 kB / 0.8166 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-06/0.01647, allocations: 0 / 0.8166 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.01649, allocations: 3.938 kB / 0.8166 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.01665, allocations: 17.44 kB / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.01669, allocations: 4 kB / 0.8166 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.0167, allocations: 3.984 kB / 0.8166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.656e-05/0.01679, allocations: 131.2 kB / 0.8168 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01679, allocations: 1 kB / 0.8168 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000235/0.01703, allocations: 16 kB / 0.8168 GB, free: 11.75 MB / 0.7761 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.0001599/0.01719, allocations: 96.36 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005609/0.01775, allocations: 149.7 kB / 0.817 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01775, allocations: 3.938 kB / 0.817 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.01801, allocations: 80.27 kB / 0.8171 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.01827, allocations: 16.94 kB / 0.8171 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.01905, allocations: 227.6 kB / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.547e-05/0.01914, allocations: 77.08 kB / 0.8174 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.224e-05/0.01921, allocations: 14.77 kB / 0.8174 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.15e-05/0.01927, allocations: 12.5 kB / 0.8174 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.01927, allocations: 0 / 0.8174 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of Templates: time 0.00391/0.02318, allocations: 0.9688 MB / 0.8184 GB, free: 10.07 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] 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/jenkins/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: 7.894651989918202]