Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.0008022/0.0008022, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009827/0.0009827, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9421/0.9421, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.885/1.885, allocations: 377.8 MB / 0.6239 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8116 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.748e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001036/0.001054, allocations: 0.6063 MB / 0.8122 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.002158, allocations: 1.165 MB / 0.8133 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.002189, allocations: 0 / 0.8133 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.002205, allocations: 0 / 0.8133 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.002437, allocations: 27.78 kB / 0.8133 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 2.855e-06/0.00244, allocations: 1.562 kB / 0.8133 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.209e-05/0.002482, allocations: 4 kB / 0.8133 GB, free: 228 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.002523, allocations: 4 kB / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.219e-05/0.002545, allocations: 0 / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.419e-05/0.00257, allocations: 5.688 kB / 0.8134 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.002578, allocations: 3.938 kB / 0.8134 GB, free: 216 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 9.63e-05/0.002675, allocations: 15.97 kB / 0.8134 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.002684, allocations: 0 / 0.8134 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.211e-05/0.002696, allocations: 4 kB / 0.8134 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.515e-05/0.002771, allocations: 13.2 kB / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.002773, allocations: 0 / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002773, allocations: 0 / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002778, allocations: 1.875 kB / 0.8134 GB, free: 184 kB / 0.7605 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.0003052/0.003083, allocations: 352.3 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.003123, allocations: 8.031 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.00316, allocations: 0.9375 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.546e-05/0.003226, allocations: 108.6 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.003238, allocations: 6.812 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.003261, allocations: 384 / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.422e-05/0.003345, allocations: 38.25 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.003355, allocations: 192 / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.003362, allocations: 384 / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.003372, allocations: 7.938 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.921e-05/0.003401, allocations: 0 / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.003503, allocations: 113.3 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.003655, allocations: 43.14 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.935e-05/0.003675, allocations: 16.2 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.329e-05/0.003768, allocations: 5.656 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.003788, allocations: 33.39 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.003789, allocations: 0 / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.001104/0.004893, allocations: 280.6 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.004924, allocations: 55.09 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.879e-05/0.004963, allocations: 142.2 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.004978, allocations: 25.7 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.33e-05/0.005012, allocations: 130.9 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.005044, allocations: 11.91 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.205e-05/0.005086, allocations: 27.36 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.005199, allocations: 496.1 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.005248, allocations: 6 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.167e-05/0.005299, allocations: 35.98 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.446e-05/0.005394, allocations: 47.16 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.005395, allocations: 0 / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001242/0.005519, allocations: 61.47 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.00553, allocations: 5.781 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.005536, allocations: 0 / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.005549, allocations: 4.422 kB / 0.8154 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.005684, allocations: 42.22 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.005689, allocations: 0 / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.983e-05/0.005779, allocations: 28.22 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.005788, allocations: 4 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 7.161e-05/0.00586, allocations: 156.6 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.005877, allocations: 11.95 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.006053, allocations: 85.28 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.006054, allocations: 0 / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.006059, allocations: 3.938 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.006064, allocations: 3.984 kB / 0.8157 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.006354, allocations: 305.4 kB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006356, allocations: 4 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.006466, allocations: 27.98 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.006469, allocations: 3.938 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.00648, allocations: 4 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.006481, allocations: 0 / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006481, allocations: 0 / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.006627, allocations: 207.9 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.006632, allocations: 3.984 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.006647, allocations: 3.938 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.006748, allocations: 24 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.372e-05/0.006762, allocations: 3.984 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.006768, allocations: 4 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.876e-05/0.006797, allocations: 119.2 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006797, allocations: 0 / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001626/0.00696, allocations: 11.94 kB / 0.8164 GB, free: 12.87 MB / 0.7761 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 (5): * Single equations (assignments): 5 * 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.0001116/0.007071, allocations: 99.25 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.007216, allocations: 43.59 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.007217, allocations: 0 / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.136e-05/0.007258, allocations: 24.06 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001428/0.007401, allocations: 7.938 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.007711, allocations: 138.4 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.671e-05/0.007748, allocations: 55.36 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000105/0.007853, allocations: 35.97 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.007899, allocations: 12.5 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.0079, allocations: 0 / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.002268/0.01017, allocations: 0.8484 MB / 0.8176 GB, free: 11.56 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.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: 4.871742219896987]