Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009313/0.0009313, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00098/0.00098, allocations: 177 kB / 23.36 MB, free: 1.133 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 0.9757/0.9757, allocations: 177.2 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.467/2.467, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.[0-9,]+..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.22e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001978/0.002001, allocations: 1.518 MB / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003307/0.002331, allocations: 143.4 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.002361, allocations: 4 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.002405, allocations: 3.938 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.343e-05/0.002478, allocations: 15.86 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.002676, allocations: 31.89 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.378e-05/0.002759, allocations: 39.86 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.002855, allocations: 23.91 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.012e-05/0.002905, allocations: 23.97 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.002942, allocations: 19.92 kB / 0.8404 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.002956, allocations: 4 kB / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.003027, allocations: 27.97 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.003044, allocations: 4 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.003062, allocations: 19.92 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.003173, allocations: 55.88 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003175, allocations: 4 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.71e-07/0.003176, allocations: 0 / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.003179, allocations: 0 / 0.8405 GB, free: 12.29 MB / 0.8073 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.0002859/0.003465, allocations: 256.8 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.003496, allocations: 12.62 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.003823, allocations: 76.81 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.751e-05/0.003901, allocations: 125.6 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.003911, allocations: 8.312 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.003924, allocations: 384 / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.004097, allocations: 102.9 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004103, allocations: 192 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.004114, allocations: 8.359 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.004119, allocations: 384 / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.81e-05/0.004167, allocations: 27.94 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.0045, allocations: 216.1 kB / 0.8413 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.004675, allocations: 66.52 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.004701, allocations: 12.86 kB / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.004717, allocations: 0 / 0.8413 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.004735, allocations: 34.55 kB / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004736, allocations: 0 / 0.8414 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001342/0.00487, allocations: 65.56 kB / 0.8414 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.004897, allocations: 55.41 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.801e-05/0.004945, allocations: 110.8 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.004959, allocations: 25.7 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.004987, allocations: 92.06 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.789e-05/0.005005, allocations: 7.906 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.005039, allocations: 21.7 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.005105, allocations: 314.8 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.00513, allocations: 8 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.005152, allocations: 7.984 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/0.005195, allocations: 24.84 kB / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005197, allocations: 0 / 0.8421 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.413e-05/0.005271, allocations: 53.62 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.005281, allocations: 7.938 kB / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.005286, allocations: 0 / 0.8421 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.005297, allocations: 4 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/0.005383, allocations: 15.97 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.005386, allocations: 4 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.00543, allocations: 15.98 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.005437, allocations: 0 / 0.8422 GB, free: 10.39 MB / 0.8073 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.277e-05/0.00549, allocations: 109.8 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.005508, allocations: 4 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.005534, allocations: 16.19 kB / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.005535, allocations: 0 / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.005537, allocations: 0 / 0.8423 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.005542, allocations: 7.984 kB / 0.8423 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.432e-05/0.005636, allocations: 77.88 kB / 0.8424 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.005637, allocations: 4 kB / 0.8424 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.005695, allocations: 23.97 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005696, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.005702, allocations: 3.938 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.005703, allocations: 0 / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.005705, allocations: 3.938 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.835e-05/0.005803, allocations: 143.5 kB / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.005809, allocations: 0 / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.005819, allocations: 0 / 0.8425 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.00588, allocations: 15.98 kB / 0.8426 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/0.005906, allocations: 15.92 kB / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.00591, allocations: 0 / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.111e-05/0.005921, allocations: 8.859 kB / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005921, allocations: 0 / 0.8426 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001265/0.006048, allocations: 15.95 kB / 0.8426 GB, free: 9.898 MB / 0.8073 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 7.414e-05/0.006122, allocations: 76.36 kB / 0.8427 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.165e-05/0.006203, allocations: 28.78 kB / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.006207, allocations: 4 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.006238, allocations: 20.84 kB / 0.8427 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.006369, allocations: 10.39 kB / 0.8427 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.006668, allocations: 156.5 kB / 0.8429 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.459e-05/0.006703, allocations: 63.34 kB / 0.8429 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.006736, allocations: 4 kB / 0.8429 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.006799, allocations: 55.36 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of SimCode: time 5.91e-07/0.0068, allocations: 0 / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of Templates: time 0.002306/0.009106, allocations: 0.9674 MB / 0.8439 GB, free: 8.469 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.387566469144076]