Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.0009843/0.0009843, allocations: 80.75 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.0009405/0.0009405, allocations: 181 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.917/0.917, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.47/2.47, allocations: 438.8 MB / 0.6827 GB, free: 13.59 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.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.16e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001848/0.00187, allocations: 1.499 MB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006342/0.002504, allocations: 498.6 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.554e-05/0.002539, allocations: 0 / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.002564, allocations: 0 / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.002629, allocations: 11.88 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.00282, allocations: 23.91 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.002879, allocations: 23.92 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.835e-05/0.002948, allocations: 4 kB / 0.8406 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.003022, allocations: 23.86 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.063e-05/0.003053, allocations: 7.984 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.003064, allocations: 4 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.269e-05/0.003117, allocations: 15.98 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.003129, allocations: 3.984 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.51e-05/0.003145, allocations: 11.94 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.251e-05/0.003227, allocations: 23.97 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.00323, allocations: 4 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.72e-07/0.003231, allocations: 0 / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.003233, allocations: 0 / 0.8407 GB, free: 12.03 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.0002567/0.00349, allocations: 240.9 kB / 0.8409 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.003521, allocations: 8.625 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/0.003686, allocations: 12.92 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.08e-05/0.003767, allocations: 113.7 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.003776, allocations: 384 / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.003788, allocations: 4.375 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.978e-05/0.003888, allocations: 66.88 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.003895, allocations: 192 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.003903, allocations: 384 / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.003909, allocations: 3.938 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.183e-05/0.003931, allocations: 7.984 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.004125, allocations: 148.3 kB / 0.8413 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.936e-05/0.004165, allocations: 26.52 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.518e-05/0.00418, allocations: 8.922 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.004193, allocations: 0 / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.004209, allocations: 30.56 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.00421, allocations: 11.94 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.824e-05/0.004308, allocations: 41.67 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.004335, allocations: 51.41 kB / 0.8414 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.553e-05/0.004381, allocations: 106.7 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.004391, allocations: 25.7 kB / 0.8415 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.004417, allocations: 84.12 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.004432, allocations: 11.89 kB / 0.8416 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.004457, allocations: 17.72 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.004527, allocations: 314.8 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.004538, allocations: 4 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-06/0.004546, allocations: 4.125 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.004569, allocations: 16.84 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.00457, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.049e-05/0.004611, allocations: 37.69 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.004621, allocations: 4 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.004624, allocations: 4 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.004636, allocations: 3.938 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.513e-05/0.004701, allocations: 12.17 kB / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004703, allocations: 0 / 0.842 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.004726, allocations: 12.09 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-06/0.00473, allocations: 0 / 0.842 GB, free: 10.46 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 4.924e-05/0.00478, allocations: 109.8 kB / 0.8422 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.004794, allocations: 7.984 kB / 0.8422 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.004822, allocations: 7.297 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.004824, allocations: 3.938 kB / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.004826, allocations: 0 / 0.8422 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.004828, allocations: 4 kB / 0.8422 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.723e-05/0.004905, allocations: 61.91 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004906, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.633e-05/0.004933, allocations: 11.98 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.004934, allocations: 4 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.004939, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.004939, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00494, allocations: 0 / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.34e-05/0.005013, allocations: 135.4 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-06/0.005019, allocations: 7.953 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.005027, allocations: 7.938 kB / 0.8424 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.005063, allocations: 7.984 kB / 0.8424 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.15e-05/0.005085, allocations: 3.969 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.005087, allocations: 4 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.096e-05/0.005098, allocations: 12.84 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005098, allocations: 0 / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001129/0.005211, allocations: 4 kB / 0.8424 GB, free: 10.03 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 6.682e-05/0.005278, allocations: 80.41 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.186e-05/0.00533, allocations: 8.859 kB / 0.8425 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.005331, allocations: 4 kB / 0.8425 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.449e-05/0.005346, allocations: 12.8 kB / 0.8425 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.005473, allocations: 20.09 kB / 0.8425 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001928/0.005666, allocations: 100.8 kB / 0.8426 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.737e-05/0.005693, allocations: 51.36 kB / 0.8427 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.591e-05/0.005719, allocations: 8 kB / 0.8427 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.005765, allocations: 55.38 kB / 0.8427 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.005766, allocations: 0 / 0.8427 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of Templates: time 0.0019/0.007666, allocations: 0.6128 MB / 0.8433 GB, free: 9.043 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothHeaviside.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.292669983115047]