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.00161/0.00161, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001921/0.001921, allocations: 199.3 kB / 22.17 MB, free: 5.207 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.498/1.498, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.844/2.844, allocations: 476.7 MB / 0.7645 GB, free: 10.05 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.002144/0.002144, allocations: 67.88 kB / 1.109 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.85/0.8522, allocations: 168.7 MB / 1.274 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003151/0.8553, allocations: 1.476 MB / 1.275 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004823/0.8558, allocations: 159.5 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.281e-05/0.8559, allocations: 0 / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.075e-05/0.856, allocations: 0 / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.003e-05/0.856, allocations: 11.92 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.8564, allocations: 27.91 kB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.8565, allocations: 39.86 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.8566, allocations: 19.97 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.326e-05/0.8567, allocations: 15.94 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.8567, allocations: 27.91 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.8568, allocations: 4 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.8569, allocations: 23.98 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.8569, allocations: 7.984 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.8569, allocations: 23.88 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.8571, allocations: 74.33 kB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.8571, allocations: 0 / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8571, allocations: 0 / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.8571, allocations: 0 / 1.276 GB, free: 2.582 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.000626/0.8578, allocations: 365.7 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.8578, allocations: 8.031 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.859, allocations: 216.5 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.8592, allocations: 168.3 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.8592, allocations: 4.375 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.8592, allocations: 384 / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/0.8599, allocations: 198 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.86, allocations: 192 / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.86, allocations: 3.938 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.86, allocations: 3.938 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009379/0.8609, allocations: 283.6 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.862, allocations: 437.4 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.8632, allocations: 290.1 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.8636, allocations: 96.8 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.8636, allocations: 0 / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.8637, allocations: 38.55 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.8637, allocations: 0 / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.001267/0.8649, allocations: 305.3 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.865, allocations: 51.41 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.8651, allocations: 129.7 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.8652, allocations: 25.7 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.8652, allocations: 100.1 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.8653, allocations: 11.84 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.8653, allocations: 13.72 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.8655, allocations: 326.8 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.8658, allocations: 91.88 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.8662, allocations: 96.06 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.8669, allocations: 176.7 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8669, allocations: 0 / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008157/0.8678, allocations: 209.5 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.8678, allocations: 5.875 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8678, allocations: 4 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.8678, allocations: 3.938 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.8681, allocations: 35.94 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.8681, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.8683, allocations: 39.91 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.8683, allocations: 0 / 1.279 GB, free: 14.7 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.0001105/0.8684, allocations: 122.6 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.8685, allocations: 4 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.8685, allocations: 11.91 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8685, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8685, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.8685, allocations: 3.984 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.8688, allocations: 205.5 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.8688, allocations: 3.984 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.869, allocations: 35.95 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.869, allocations: 0 / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.869, allocations: 0 / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.869, allocations: 0 / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.869, allocations: 7.969 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/0.8699, allocations: 319.1 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.87, allocations: 81.06 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.87, allocations: 4 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.8702, allocations: 27.95 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.8703, allocations: 7.984 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.8703, allocations: 3.938 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.504e-05/0.8704, allocations: 99.58 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8704, allocations: 4 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002425/0.8706, allocations: 12 kB / 1.28 GB, free: 13.66 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.0001458/0.8708, allocations: 103.7 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008556/0.8716, allocations: 199.7 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8716, allocations: 0 / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.872, allocations: 95.88 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.8723, allocations: 4 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.8733, allocations: 273.2 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.8736, allocations: 0.6807 MB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.794e-05/0.8737, allocations: 23.98 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.541e-05/0.8737, allocations: 11.42 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.8737, allocations: 0 / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of Templates: time 0.003678/0.8774, allocations: 0.9484 MB / 1.283 GB, free: 11.27 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 cvode -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.773881309200078]