Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.001412/0.001412, 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.002009/0.002009, 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.9666/0.9666, allocations: 177.1 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.436/2.436, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.319e-05, allocations: 4.281 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.006427/0.00645, allocations: 1.495 MB / 0.84 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004154/0.006866, allocations: 195.2 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.006901, allocations: 0 / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.041e-05/0.006932, allocations: 3.984 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.006982, allocations: 3.938 kB / 0.8402 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.007248, allocations: 39.83 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.514e-05/0.007313, allocations: 31.86 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.094e-05/0.007384, allocations: 4 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.007442, allocations: 19.98 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.415e-05/0.007476, allocations: 0 / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.00749, allocations: 4 kB / 0.8403 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.661e-05/0.007577, allocations: 39.94 kB / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.007591, allocations: 0 / 0.8404 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.007611, allocations: 11.94 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.007724, allocations: 39.88 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.007728, allocations: 4 kB / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.212e-06/0.007729, allocations: 0 / 0.8404 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.007732, allocations: 0 / 0.8404 GB, free: 12.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003018/0.008034, allocations: 236.9 kB / 0.8406 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.008069, allocations: 12.62 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.008101, allocations: 0.9375 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.652e-05/0.008187, allocations: 113.7 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.008197, allocations: 384 / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.008207, allocations: 384 / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.008316, allocations: 58.94 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.008322, allocations: 4.188 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.008329, allocations: 384 / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.008335, allocations: 4.375 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.124e-05/0.008357, allocations: 3.938 kB / 0.8408 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/0.008555, allocations: 148.3 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.438e-05/0.0086, allocations: 26.58 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.008616, allocations: 4.859 kB / 0.841 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.008891, allocations: 63.92 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.008912, allocations: 34.56 kB / 0.8411 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.008913, allocations: 0 / 0.8411 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.009033, allocations: 37.64 kB / 0.8411 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.009064, allocations: 59.34 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.009128, allocations: 110.7 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.009139, allocations: 33.83 kB / 0.8413 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.009169, allocations: 84.08 kB / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.009184, allocations: 3.953 kB / 0.8414 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.009213, allocations: 17.7 kB / 0.8414 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.009297, allocations: 314.8 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.009309, allocations: 4 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.009317, allocations: 0 / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.009342, allocations: 8.859 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009344, allocations: 0 / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.738e-05/0.009412, allocations: 49.69 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.009423, allocations: 4 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.009427, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.009438, allocations: 4 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/0.0095, allocations: 11.92 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.009503, allocations: 0 / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.009525, allocations: 4 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.009529, allocations: 0 / 0.8418 GB, free: 10.68 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 (2): * Single equations (assignments): 2 * 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.284e-05/0.009582, allocations: 105.8 kB / 0.8419 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.009603, allocations: 0 / 0.8419 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/0.009676, allocations: 53.02 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.009678, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.009682, allocations: 3.938 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.009684, allocations: 3.938 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.009794, allocations: 73.88 kB / 0.842 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.009795, allocations: 0 / 0.842 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.009827, allocations: 4 kB / 0.842 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.009829, allocations: 3.984 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-06/0.009834, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.009836, allocations: 3.984 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.009837, allocations: 4.031 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.283e-05/0.009919, allocations: 131.4 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-06/0.009927, allocations: 11.94 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-06/0.009936, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.394e-05/0.00999, allocations: 4 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.01002, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.01002, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.957e-05/0.01004, allocations: 25.03 kB / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01004, allocations: 0 / 0.8422 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002127/0.01025, allocations: 11.94 kB / 0.8422 GB, free: 10.19 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 (2): * Single equations (assignments): 2 * 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.0001252/0.01038, allocations: 96.38 kB / 0.8423 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.469e-05/0.01043, allocations: 8.859 kB / 0.8423 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01043, allocations: 0 / 0.8423 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.01045, allocations: 8.859 kB / 0.8423 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.01062, allocations: 4 kB / 0.8423 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.01084, allocations: 104.8 kB / 0.8424 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.478e-05/0.01088, allocations: 59.41 kB / 0.8425 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.0109, allocations: 8 kB / 0.8425 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.01094, allocations: 47.38 kB / 0.8426 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of SimCode: time 3.71e-07/0.01094, allocations: 4 kB / 0.8426 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of Templates: time 0.002603/0.01354, allocations: 0.6322 MB / 0.8432 GB, free: 9.176 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.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.355964719783515]