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.001537/0.001537, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001722/0.001722, allocations: 161 kB / 23.82 MB, free: 0.75 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.9825/0.9825, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.92/1.92, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.452e-06/1.452e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.524e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001283/0.001308, allocations: 0.6151 MB / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.002512, allocations: 1.163 MB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.00254, allocations: 1.25 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.002561, allocations: 0 / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.002807, allocations: 23.69 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.00281, allocations: 6.438 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.873e-05/0.002849, allocations: 0 / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.002888, allocations: 0 / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.002913, allocations: 4 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.148e-05/0.002934, allocations: 0 / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.002944, allocations: 3.984 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.003048, allocations: 19.92 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.003058, allocations: 0.8438 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.119e-05/0.003069, allocations: 0 / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 8.245e-05/0.003152, allocations: 17.02 kB / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.003153, allocations: 0 / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003154, allocations: 0 / 0.8134 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003158, allocations: 1.531 kB / 0.8134 GB, free: 15.81 MB / 0.7761 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.0002392/0.003398, allocations: 352.3 kB / 0.8137 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.003434, allocations: 11.97 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.00347, allocations: 0.9375 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.392e-05/0.003534, allocations: 110.2 kB / 0.8139 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.003546, allocations: 4.375 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.003575, allocations: 384 / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.623e-05/0.003661, allocations: 34.25 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.003675, allocations: 1.25 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.003684, allocations: 384 / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.003693, allocations: 3.938 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.712e-05/0.00372, allocations: 4.531 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001133/0.003833, allocations: 112.6 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.004005, allocations: 47.55 kB / 0.8141 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.815e-05/0.004023, allocations: 12.66 kB / 0.8141 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.004127, allocations: 12.08 kB / 0.8141 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.004149, allocations: 34.11 kB / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.004151, allocations: 0 / 0.8141 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.001127/0.005278, allocations: 277.1 kB / 0.8144 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.005309, allocations: 53.84 kB / 0.8144 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.917e-05/0.005348, allocations: 142.2 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.005363, allocations: 25.7 kB / 0.8146 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.954e-05/0.005393, allocations: 130.9 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.005429, allocations: 15.89 kB / 0.8147 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.00547, allocations: 23.38 kB / 0.8148 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.005589, allocations: 0.4922 MB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.455e-05/0.005633, allocations: 7 kB / 0.8152 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-05/0.005683, allocations: 31.97 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.801e-05/0.005771, allocations: 47.7 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.005773, allocations: 0 / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001337/0.005907, allocations: 73.53 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.00592, allocations: 4 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.005925, allocations: 1.062 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.005942, allocations: 4 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.006084, allocations: 34.42 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.00609, allocations: 0 / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.044e-05/0.00618, allocations: 23.08 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.006191, allocations: 4 kB / 0.8155 GB, free: 13.53 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.117e-05/0.006262, allocations: 160.5 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.00628, allocations: 7.953 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.006469, allocations: 85.31 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.006473, allocations: 4 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.006477, allocations: 7.938 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.00648, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.006788, allocations: 289.5 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.006789, allocations: 4 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.006915, allocations: 39.91 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.006918, allocations: 3.938 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.00693, allocations: 4 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.006931, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.006933, allocations: 0 / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.007084, allocations: 199.9 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.00709, allocations: 4 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.007106, allocations: 3.938 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.007211, allocations: 24.17 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.007228, allocations: 4 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.007237, allocations: 7.984 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.452e-05/0.007272, allocations: 119.2 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.007272, allocations: 0 / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001715/0.007443, allocations: 15.94 kB / 0.8164 GB, free: 12.49 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.000149/0.007592, allocations: 107.2 kB / 0.8165 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000141/0.007734, allocations: 35.73 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.007735, allocations: 0 / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.00778, allocations: 23.61 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.007936, allocations: 8 kB / 0.8166 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/0.008269, allocations: 130.5 kB / 0.8167 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.008305, allocations: 55.36 kB / 0.8167 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.996e-05/0.008405, allocations: 31.98 kB / 0.8168 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.008457, allocations: 16.48 kB / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.008458, allocations: 0 / 0.8168 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of Templates: time 0.002418/0.01088, allocations: 0.8444 MB / 0.8176 GB, free: 11.19 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: 5.248588166665286]