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.002367/0.002367, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002667/0.002667, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.654/1.654, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.027/3.027, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] 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.313e-06/1.313e-06, allocations: 0 / 0.8109 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/2.979e-05, allocations: 3.719 kB / 0.8109 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00169/0.00172, allocations: 0.6019 MB / 0.8114 GB, free: 332 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.003425, allocations: 1.154 MB / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.914e-05/0.003455, allocations: 3.938 kB / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.286e-05/0.003467, allocations: 0 / 0.8126 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.00373, allocations: 17.45 kB / 0.8126 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.003735, allocations: 0 / 0.8126 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.43e-05/0.003779, allocations: 4 kB / 0.8126 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.003824, allocations: 4 kB / 0.8126 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.003852, allocations: 1.031 kB / 0.8126 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.943e-05/0.003882, allocations: 7.922 kB / 0.8126 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.00389, allocations: 0 / 0.8126 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.003994, allocations: 16.42 kB / 0.8126 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-06/0.004003, allocations: 1.594 kB / 0.8126 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.004021, allocations: 8 kB / 0.8126 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.904e-05/0.00411, allocations: 15.86 kB / 0.8126 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.004113, allocations: 0 / 0.8126 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.11e-07/0.004114, allocations: 2.5 kB / 0.8126 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.004118, allocations: 0 / 0.8126 GB, free: 15.09 MB / 0.7292 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.0003799/0.004498, allocations: 352.3 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.004534, allocations: 8.031 kB / 0.813 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.004574, allocations: 0.9375 kB / 0.813 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.004681, allocations: 108.6 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.004693, allocations: 384 / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.004717, allocations: 0.9062 kB / 0.8131 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.00482, allocations: 42.91 kB / 0.8131 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.004833, allocations: 4.188 kB / 0.8131 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.00484, allocations: 0.9062 kB / 0.8131 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.004848, allocations: 3.938 kB / 0.8131 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.093e-05/0.004889, allocations: 9.609 kB / 0.8132 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.005047, allocations: 112.6 kB / 0.8133 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001988/0.005246, allocations: 35.09 kB / 0.8133 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.005274, allocations: 15.69 kB / 0.8133 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.005384, allocations: 4.625 kB / 0.8133 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.005421, allocations: 42.02 kB / 0.8134 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.005422, allocations: 0 / 0.8134 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.002889/0.008311, allocations: 355.2 kB / 0.8137 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.008356, allocations: 52.53 kB / 0.8137 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.556e-05/0.008441, allocations: 142.2 kB / 0.8139 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.008465, allocations: 25.7 kB / 0.8139 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.656e-05/0.008541, allocations: 132 kB / 0.814 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.008587, allocations: 19.84 kB / 0.8141 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.008659, allocations: 27.36 kB / 0.8141 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002465/0.008905, allocations: 493.1 kB / 0.8145 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.00927, allocations: 47.59 kB / 0.8146 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.009661, allocations: 72.45 kB / 0.8147 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/0.0104, allocations: 120.6 kB / 0.8148 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.0104, allocations: 3.938 kB / 0.8148 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0008292/0.01123, allocations: 141.6 kB / 0.8149 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.01125, allocations: 10.03 kB / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01126, allocations: 0 / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.01127, allocations: 4.062 kB / 0.8149 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.01157, allocations: 31.92 kB / 0.815 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01158, allocations: 4 kB / 0.815 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.01182, allocations: 24.17 kB / 0.815 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.01183, allocations: 0 / 0.815 GB, free: 12.51 MB / 0.7292 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 0.0001305/0.01196, allocations: 164.5 kB / 0.8151 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.01199, allocations: 4 kB / 0.8151 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009335/0.01292, allocations: 161.7 kB / 0.8153 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.01293, allocations: 4 kB / 0.8153 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01293, allocations: 3.938 kB / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01293, allocations: 0 / 0.8153 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.01405, allocations: 393.3 kB / 0.8157 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01405, allocations: 0 / 0.8157 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.01432, allocations: 23.98 kB / 0.8157 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.01432, allocations: 11.94 kB / 0.8157 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01434, allocations: 0 / 0.8157 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01434, allocations: 0 / 0.8157 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.01434, allocations: 3.984 kB / 0.8157 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008983/0.01524, allocations: 279.8 kB / 0.816 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-06/0.01525, allocations: 4 kB / 0.816 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.01528, allocations: 11.92 kB / 0.816 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.01555, allocations: 16 kB / 0.816 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.01557, allocations: 7.984 kB / 0.816 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.01558, allocations: 0 / 0.816 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001693/0.01575, allocations: 127.2 kB / 0.8161 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01575, allocations: 0 / 0.8161 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002421/0.01599, allocations: 8 kB / 0.8162 GB, free: 11.23 MB / 0.7292 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.0001827/0.01618, allocations: 103.2 kB / 0.8163 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008284/0.017, allocations: 115.6 kB / 0.8164 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.01701, allocations: 0 / 0.8164 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/0.0174, allocations: 63.97 kB / 0.8164 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.01761, allocations: 7.938 kB / 0.8164 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008487/0.01846, allocations: 174.6 kB / 0.8166 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.213e-05/0.01852, allocations: 55.36 kB / 0.8167 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000192/0.01872, allocations: 31.98 kB / 0.8167 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.958e-05/0.01879, allocations: 12.5 kB / 0.8167 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.01879, allocations: 0 / 0.8167 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of Templates: time 0.003686/0.02247, allocations: 0.8591 MB / 0.8175 GB, free: 9.766 MB / 0.7292 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.0656296859961]