Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001894/0.001894, allocations: 120.1 kB / 17.13 MB, free: 5.758 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.002348/0.002348, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.58/1.58, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.89 kB / 1.057 GB, free: 1.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 160.7 MB / 1.214 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001925/0.3444, allocations: 0.6066 MB / 1.215 GB, free: 240 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.3462, allocations: 1.112 MB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.3463, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.769e-05/0.3463, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.3466, allocations: 19.92 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 3.527e-06/0.3466, allocations: 4 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.125e-05/0.3466, allocations: 3.984 kB / 1.216 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.3467, allocations: 4 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.3467, allocations: 7.938 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.341e-05/0.3467, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.3467, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3468, allocations: 27.91 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.101e-06/0.3468, allocations: 0 / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.3469, allocations: 3.984 kB / 1.216 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.3469, allocations: 15.92 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.347, allocations: 0 / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.894e-06/0.347, allocations: 0 / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.347, allocations: 0 / 1.216 GB, free: 15.02 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.0003649/0.3473, allocations: 327.4 kB / 1.216 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3474, allocations: 12.03 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.3474, allocations: 0.9375 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.3475, allocations: 168.3 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3475, allocations: 384 / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.3476, allocations: 384 / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.3477, allocations: 38.02 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3477, allocations: 7.984 kB / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.3477, allocations: 0 / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3477, allocations: 0 / 1.216 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.303e-05/0.3477, allocations: 8 kB / 1.216 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.3479, allocations: 149.7 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.3481, allocations: 34.52 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/0.3481, allocations: 16.88 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.3483, allocations: 81.11 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.3483, allocations: 38.5 kB / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3483, allocations: 0 / 1.217 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.004359/0.3527, allocations: 0.5642 MB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.3528, allocations: 55.41 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.3528, allocations: 89.86 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.3528, allocations: 25.7 kB / 1.217 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.3529, allocations: 80.14 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/0.3529, allocations: 23.78 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.353, allocations: 29.66 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3532, allocations: 314.8 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.3538, allocations: 83.95 kB / 1.218 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.3544, allocations: 102.5 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001313/0.3557, allocations: 190.5 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3557, allocations: 0 / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001301/0.357, allocations: 217.5 kB / 1.218 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.357, allocations: 12 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.357, allocations: 0 / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3571, allocations: 0 / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.3575, allocations: 55.91 kB / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3575, allocations: 0 / 1.218 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.3578, allocations: 39.98 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.3579, allocations: 4 kB / 1.219 GB, free: 12.04 MB / 0.9669 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.000115/0.358, allocations: 113.8 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.358, allocations: 3.938 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001405/0.3594, allocations: 241.3 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3594, allocations: 4 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3594, allocations: 4 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3594, allocations: 0 / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.361, allocations: 458.4 kB / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.361, allocations: 0 / 1.219 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/0.3614, allocations: 47.97 kB / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3614, allocations: 0 / 1.219 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.3614, allocations: 7.938 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3614, allocations: 0 / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.3614, allocations: 4 kB / 1.219 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/0.3627, allocations: 303.4 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-05/0.3628, allocations: 77.11 kB / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3628, allocations: 0 / 1.22 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.3632, allocations: 47.97 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.487e-05/0.3632, allocations: 0 / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.3632, allocations: 7.938 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.3632, allocations: 76.02 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3632, allocations: 4 kB / 1.22 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002594/0.3635, allocations: 11.98 kB / 1.22 GB, free: 10.55 MB / 0.9669 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.0002079/0.3637, allocations: 107.2 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.365, allocations: 183.8 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.365, allocations: 0 / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006094/0.3656, allocations: 96 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.3658, allocations: 2.062 kB / 1.22 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.3671, allocations: 250.5 kB / 1.22 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.3675, allocations: 0.6768 MB / 1.221 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.662e-05/0.3676, allocations: 11.44 kB / 1.221 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/0.3676, allocations: 0 / 1.221 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of Templates: time 0.003224/0.3708, allocations: 1.095 MB / 1.222 GB, free: 8.078 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.73924305383116]