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.001141/0.001141, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001691/0.002832, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001049/0.001049, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001353/0.002402, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.014/1.014, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08572/1.1, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.864/1.864, allocations: 378.3 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5003/2.364, allocations: 123.3 MB / 0.7283 GB, free: 5.75 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.553e-06/1.553e-06, allocations: 0 / 0.7297 GB, free: 4.363 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.284e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001606/0.001629, allocations: 0.664 MB / 0.7304 GB, free: 3.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.002861, allocations: 1.173 MB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.91e-05/0.00288, allocations: 3.188 kB / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.589e-06/0.002885, allocations: 0 / 0.7315 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.003, allocations: 17.41 kB / 0.7315 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.226e-06/0.003003, allocations: 0 / 0.7315 GB, free: 2.527 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.189e-05/0.003045, allocations: 5.531 kB / 0.7315 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.003085, allocations: 4.641 kB / 0.7315 GB, free: 2.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.003118, allocations: 9.25 kB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.226e-05/0.00315, allocations: 1.203 kB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.003159, allocations: 0.5 kB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.003264, allocations: 16.62 kB / 0.7316 GB, free: 2.496 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.003277, allocations: 7.422 kB / 0.7316 GB, free: 2.492 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.025e-05/0.003288, allocations: 4 kB / 0.7316 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.003393, allocations: 5.203 kB / 0.7316 GB, free: 2.484 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.801e-05/0.003411, allocations: 0.5312 kB / 0.7316 GB, free: 2.484 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003412, allocations: 0 / 0.7316 GB, free: 2.484 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.003429, allocations: 1.438 kB / 0.7316 GB, free: 2.484 MB / 0.698 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.0002575/0.003687, allocations: 220.7 kB / 0.7318 GB, free: 2.246 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.00372, allocations: 12.03 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.608e-05/0.003756, allocations: 2.031 kB / 0.7318 GB, free: 2.234 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.772e-05/0.003824, allocations: 109.8 kB / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.003834, allocations: 1.031 kB / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.003861, allocations: 12.8 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.506e-05/0.003937, allocations: 30.27 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.003945, allocations: 0.8438 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.003954, allocations: 5.484 kB / 0.732 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.00396, allocations: 3.938 kB / 0.732 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.655e-05/0.003987, allocations: 4.766 kB / 0.732 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.141e-05/0.004068, allocations: 58.02 kB / 0.732 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.004226, allocations: 30.61 kB / 0.7321 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.339e-05/0.004239, allocations: 13.58 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.865e-05/0.004338, allocations: 4 kB / 0.7321 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.00436, allocations: 39.27 kB / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.004361, allocations: 0 / 0.7321 GB, free: 1.867 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.001194/0.005555, allocations: 351.3 kB / 0.7324 GB, free: 1.516 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.005586, allocations: 60.62 kB / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.921e-05/0.005616, allocations: 93.8 kB / 0.7326 GB, free: 1.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.00563, allocations: 25.7 kB / 0.7326 GB, free: 1.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.028e-05/0.005651, allocations: 80.8 kB / 0.7327 GB, free: 1.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.005692, allocations: 23.83 kB / 0.7327 GB, free: 1.207 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.005737, allocations: 18.47 kB / 0.7327 GB, free: 1.184 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.005819, allocations: 310.8 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.00586, allocations: 10.7 kB / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.005908, allocations: 25.73 kB / 0.7331 GB, free: 0.832 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.618e-05/0.005994, allocations: 37.75 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005996, allocations: 7.031 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001191/0.006115, allocations: 55.03 kB / 0.7332 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.006131, allocations: 9.25 kB / 0.7332 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.006138, allocations: 9.25 kB / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.00615, allocations: 0 / 0.7332 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.006334, allocations: 33.25 kB / 0.7332 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.006338, allocations: 5.75 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.776e-05/0.006436, allocations: 31.52 kB / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.006446, allocations: 0 / 0.7332 GB, free: 0.6484 MB / 0.698 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 6.32e-05/0.006509, allocations: 113.8 kB / 0.7334 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.006525, allocations: 0 / 0.7334 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001814/0.006706, allocations: 78.47 kB / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006708, allocations: 0 / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.00671, allocations: 0 / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006714, allocations: 3.938 kB / 0.7334 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.006959, allocations: 202.4 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.006961, allocations: 0.6562 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.007114, allocations: 30.73 kB / 0.7337 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.007124, allocations: 7.984 kB / 0.7337 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.007127, allocations: 0 / 0.7337 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.007139, allocations: 3.938 kB / 0.7337 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.007141, allocations: 0 / 0.7337 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007142, allocations: 4.375 kB / 0.7337 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.007269, allocations: 144.2 kB / 0.7338 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.007284, allocations: 192 / 0.7338 GB, free: 40 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.007406, allocations: 25.7 kB / 0.7338 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.007419, allocations: 8.688 kB / 0.7338 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.007428, allocations: 3.984 kB / 0.7338 GB, free: 4 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.336e-05/0.007451, allocations: 5.484 kB / 0.7338 GB, free: 16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007452, allocations: 1.969 kB / 0.7338 GB, free: 16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001946/0.007646, allocations: 16.92 kB / 0.7339 GB, free: 15.98 MB / 0.7136 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.0001519/0.007798, allocations: 80.42 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001279/0.007926, allocations: 33.69 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.007931, allocations: 3.984 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.048e-05/0.007981, allocations: 23.47 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.00813, allocations: 12.89 kB / 0.734 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.008438, allocations: 117.8 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.631e-05/0.008474, allocations: 55.34 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001396/0.008614, allocations: 27.19 kB / 0.7342 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.885e-05/0.008702, allocations: 51.38 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of SimCode: time 5.41e-07/0.008703, allocations: 0.625 kB / 0.7343 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.002667/0.01137, allocations: 0.9327 MB / 0.7352 GB, free: 14.66 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.851146443746984]