Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 204.3 kB / 22.18 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.91 kB / 1.109 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9298/0.9318, allocations: 168.7 MB / 1.274 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001879/0.9337, allocations: 0.5927 MB / 1.275 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001536/0.9352, allocations: 1.116 MB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.9353, allocations: 0 / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.977e-05/0.9353, allocations: 3.938 kB / 1.276 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.9355, allocations: 19.92 kB / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.967e-06/0.9355, allocations: 0 / 1.276 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.106e-05/0.9356, allocations: 4 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.9356, allocations: 0 / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.632e-05/0.9356, allocations: 3.984 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.14e-05/0.9357, allocations: 11.94 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.9357, allocations: 4 kB / 1.276 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.9358, allocations: 19.92 kB / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-06/0.9358, allocations: 0 / 1.276 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.432e-05/0.9358, allocations: 3.984 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 7.864e-05/0.9359, allocations: 15.92 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.9359, allocations: 4 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9359, allocations: 0 / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.9359, allocations: 0 / 1.276 GB, free: 2.668 MB / 0.9669 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.0003662/0.9363, allocations: 326.1 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.9363, allocations: 8.031 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.9363, allocations: 8.938 kB / 1.276 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.9365, allocations: 168.3 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.9365, allocations: 384 / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.9365, allocations: 4.375 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.9366, allocations: 37.81 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.9366, allocations: 0 / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.9366, allocations: 0 / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9366, allocations: 4 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.123e-05/0.9367, allocations: 7.984 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.9369, allocations: 153.7 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.9371, allocations: 34.52 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.238e-05/0.9371, allocations: 8.953 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.9372, allocations: 85.09 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.9373, allocations: 34.5 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9373, allocations: 0 / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.004601/0.9419, allocations: 0.5715 MB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.9419, allocations: 51.41 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.942, allocations: 93.86 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.942, allocations: 29.7 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.942, allocations: 80.14 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.9421, allocations: 15.83 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.9421, allocations: 17.72 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000228/0.9424, allocations: 322.8 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.943, allocations: 83.94 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006515/0.9437, allocations: 110.5 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.9449, allocations: 190.5 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.9449, allocations: 0 / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001341/0.9462, allocations: 209.5 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.9462, allocations: 4 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.9463, allocations: 7.984 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.9463, allocations: 4.031 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.9467, allocations: 51.91 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.9467, allocations: 8 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.9471, allocations: 31.98 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.9471, allocations: 11.94 kB / 1.279 GB, free: 15.68 MB / 0.9825 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 9.694e-05/0.9472, allocations: 109.8 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.9472, allocations: 15.86 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.9486, allocations: 229.1 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9486, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9486, allocations: 8 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.9486, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.9503, allocations: 462.3 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.9503, allocations: 0 / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000408/0.9507, allocations: 47.97 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.9507, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.9507, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.9507, allocations: 4 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9507, allocations: 0 / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.9521, allocations: 307.6 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.9521, allocations: 85.53 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.9521, allocations: 4.062 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.9525, allocations: 39.97 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.9526, allocations: 4 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.9526, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.699e-05/0.9526, allocations: 75.28 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.9526, allocations: 0 / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002504/0.9528, allocations: 12 kB / 1.28 GB, free: 14.21 MB / 0.9825 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.0001905/0.953, allocations: 123.6 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.9544, allocations: 179.9 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9544, allocations: 0 / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006533/0.9551, allocations: 88.06 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.9553, allocations: 13.5 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.9565, allocations: 238.3 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.9569, allocations: 0.6729 MB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.957, allocations: 27.98 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.9571, allocations: 11.44 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.9571, allocations: 0 / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of Templates: time 0.003214/0.9603, allocations: 0.8153 MB / 1.282 GB, free: 12 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.89202357083559]