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.001463/0.001463, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001875/0.001875, allocations: 177 kB / 23.36 MB, free: 1.137 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.021/1.021, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.523/2.523, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.413e-06/1.413e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.288e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002083/0.002106, allocations: 1.548 MB / 0.8401 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003546/0.00246, allocations: 187.2 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.002494, allocations: 0 / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.002522, allocations: 3.938 kB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.783e-05/0.002569, allocations: 4 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.002796, allocations: 35.83 kB / 0.8404 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.129e-05/0.002857, allocations: 31.86 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.41e-05/0.002931, allocations: 8 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.002986, allocations: 11.98 kB / 0.8404 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.206e-05/0.003018, allocations: 8 kB / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.00303, allocations: 0 / 0.8404 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.567e-05/0.003126, allocations: 43.94 kB / 0.8405 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.003139, allocations: 4 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.003153, allocations: 7.938 kB / 0.8405 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.003256, allocations: 47.8 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003259, allocations: 0 / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.172e-06/0.00326, allocations: 4 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003264, allocations: 0 / 0.8405 GB, free: 12.23 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.0002558/0.00352, allocations: 236.9 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.003556, allocations: 8.625 kB / 0.8408 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.441e-05/0.00358, allocations: 8.938 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/0.003653, allocations: 113.7 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.003662, allocations: 4.375 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-06/0.003667, allocations: 384 / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.719e-05/0.003755, allocations: 54.95 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.003761, allocations: 192 / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-06/0.003766, allocations: 4.375 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.003771, allocations: 384 / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.00379, allocations: 11.88 kB / 0.8409 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.003968, allocations: 140.3 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.468e-05/0.004003, allocations: 26.56 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.004016, allocations: 8.922 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.004228, allocations: 59.98 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.004246, allocations: 34.5 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.004247, allocations: 0 / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000104/0.004351, allocations: 37.64 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.004376, allocations: 59.34 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.565e-05/0.004431, allocations: 110.7 kB / 0.8414 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.00444, allocations: 25.7 kB / 0.8414 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.749e-05/0.004467, allocations: 88.27 kB / 0.8415 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.004487, allocations: 7.891 kB / 0.8415 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.004512, allocations: 17.69 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.00459, allocations: 314.8 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.0046, allocations: 0 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.16e-05/0.004612, allocations: 4 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.023e-05/0.004642, allocations: 12.8 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.004644, allocations: 0 / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.588e-05/0.00471, allocations: 37.69 kB / 0.8419 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.004724, allocations: 4.094 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.004729, allocations: 4 kB / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.004742, allocations: 0 / 0.8419 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.004806, allocations: 11.92 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.004812, allocations: 7.984 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.004836, allocations: 4 kB / 0.8419 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004841, allocations: 0 / 0.8419 GB, free: 10.64 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.244e-05/0.004894, allocations: 109.8 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.004909, allocations: 0 / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.004979, allocations: 44.94 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.004981, allocations: 4.031 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.004983, allocations: 3.938 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.004987, allocations: 3.984 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.982e-05/0.005067, allocations: 69.89 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005068, allocations: 256 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.287e-05/0.005091, allocations: 8 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.005094, allocations: 7.984 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.005098, allocations: 0 / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.005099, allocations: 0 / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.0051, allocations: 0 / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.691e-05/0.005167, allocations: 139.4 kB / 0.8423 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.005174, allocations: 11.89 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-06/0.005182, allocations: 0 / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.821e-05/0.00521, allocations: 0 / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.005235, allocations: 4 kB / 0.8423 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.005238, allocations: 3.984 kB / 0.8423 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.268e-05/0.005251, allocations: 12.8 kB / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005251, allocations: 0 / 0.8423 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001247/0.005376, allocations: 12 kB / 0.8423 GB, free: 10.16 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.0001086/0.005484, allocations: 92.38 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.184e-05/0.005536, allocations: 16.84 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.005539, allocations: 0 / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.005552, allocations: 12.8 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.005679, allocations: 4 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.005872, allocations: 104.5 kB / 0.8425 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.041e-05/0.005903, allocations: 55.34 kB / 0.8426 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.005919, allocations: 4.125 kB / 0.8426 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.005954, allocations: 51.38 kB / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.005955, allocations: 0 / 0.8427 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of Templates: time 0.002088/0.008042, allocations: 0.6288 MB / 0.8433 GB, free: 9.152 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 -s gbode -gbm=radauIIA3 -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.531381370034069]