Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001788/0.001788, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002227/0.002227, allocations: 186.2 kB / 22.22 MB, free: 5.105 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.491/1.491, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 59.91 kB / 1.061 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8219, allocations: 160.8 MB / 1.218 GB, free: 3.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003142/0.825, allocations: 1.481 MB / 1.22 GB, free: 2.664 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004584/0.8255, allocations: 145.5 kB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.8255, allocations: 1.156 kB / 1.22 GB, free: 2.551 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.8256, allocations: 3.938 kB / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.8256, allocations: 5.031 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.8259, allocations: 36.52 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.826, allocations: 44.69 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.8261, allocations: 21.61 kB / 1.22 GB, free: 2.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.567e-05/0.8261, allocations: 11 kB / 1.22 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.711e-05/0.8262, allocations: 20.89 kB / 1.22 GB, free: 2.453 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.8262, allocations: 8.531 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.8263, allocations: 37.3 kB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.8263, allocations: 6.562 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.8264, allocations: 24.05 kB / 1.22 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.8265, allocations: 61.75 kB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.8265, allocations: 1.375 kB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.534e-06/0.8265, allocations: 0 / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.8265, allocations: 3.938 kB / 1.22 GB, free: 2.367 MB / 0.92 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.0005546/0.8271, allocations: 364 kB / 1.221 GB, free: 1.98 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.8271, allocations: 12.75 kB / 1.221 GB, free: 1.977 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.8283, allocations: 209.8 kB / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.8284, allocations: 171.1 kB / 1.221 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.8284, allocations: 5.562 kB / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.8284, allocations: 7.75 kB / 1.221 GB, free: 1.664 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006008/0.829, allocations: 191.1 kB / 1.221 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.8291, allocations: 4.172 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.8291, allocations: 5.031 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.8291, allocations: 0.9375 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008307/0.8299, allocations: 283.5 kB / 1.222 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.8309, allocations: 435.6 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.832, allocations: 284.4 kB / 1.222 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.8323, allocations: 104.7 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.8323, allocations: 1.094 kB / 1.222 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.8324, allocations: 31.72 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.8324, allocations: 0 / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.001162/0.8335, allocations: 313.7 kB / 1.223 GB, free: 0.582 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.8336, allocations: 52.47 kB / 1.223 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.8337, allocations: 120.9 kB / 1.223 GB, free: 416 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.8337, allocations: 27.02 kB / 1.223 GB, free: 384 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.8338, allocations: 90.33 kB / 1.223 GB, free: 292 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.8338, allocations: 17.31 kB / 1.223 GB, free: 276 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.8339, allocations: 17.58 kB / 1.223 GB, free: 256 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.834, allocations: 324.9 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.8344, allocations: 91.12 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.8347, allocations: 99.41 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/0.8353, allocations: 171.5 kB / 1.224 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8353, allocations: 7.938 kB / 1.224 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007037/0.836, allocations: 212.4 kB / 1.224 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.836, allocations: 4.938 kB / 1.224 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.8361, allocations: 1.062 kB / 1.224 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8361, allocations: 0 / 1.224 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.8363, allocations: 38.97 kB / 1.224 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.8363, allocations: 0 / 1.224 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.8365, allocations: 27.36 kB / 1.224 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.8365, allocations: 1.031 kB / 1.224 GB, free: 15.58 MB / 0.9356 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.0001072/0.8366, allocations: 122.5 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.8367, allocations: 10.12 kB / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.8367, allocations: 14.16 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.8367, allocations: 1.125 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.8367, allocations: 4 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.8367, allocations: 1.062 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.837, allocations: 209 kB / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.837, allocations: 0 / 1.224 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.8372, allocations: 38 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.8372, allocations: 1.125 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.8372, allocations: 5.062 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8372, allocations: 0 / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8372, allocations: 1.516 kB / 1.224 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.838, allocations: 318.4 kB / 1.225 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.8381, allocations: 77.98 kB / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.8381, allocations: 1 kB / 1.225 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.8383, allocations: 35.19 kB / 1.225 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.8384, allocations: 1.094 kB / 1.225 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.8384, allocations: 1.031 kB / 1.225 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.641e-05/0.8384, allocations: 93.33 kB / 1.225 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8384, allocations: 288 / 1.225 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002475/0.8387, allocations: 16.25 kB / 1.225 GB, free: 14.74 MB / 0.9356 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.0001331/0.8388, allocations: 104.5 kB / 1.225 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007552/0.8396, allocations: 198.6 kB / 1.225 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.8396, allocations: 8 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003446/0.8399, allocations: 98.56 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.8402, allocations: 10.55 kB / 1.225 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.8412, allocations: 267.4 kB / 1.225 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.8415, allocations: 0.6877 MB / 1.226 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.593e-05/0.8416, allocations: 21.39 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.8417, allocations: 10.22 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of SimCode: time 6.21e-07/0.8417, allocations: 0 / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of Templates: time 0.003909/0.8456, allocations: 0.9477 MB / 1.227 GB, free: 13.09 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.54445206001401]