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.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.001378/0.001378, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001501/0.001501, allocations: 164.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.701/2.701, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.413e-06/1.413e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.499e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001654/0.001679, allocations: 0.6097 MB / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.003392, allocations: 1.132 MB / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.003425, allocations: 0 / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.003447, allocations: 0 / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.003685, allocations: 19.86 kB / 0.9527 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.438e-06/0.003689, allocations: 0 / 0.9527 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.419e-05/0.003723, allocations: 0 / 0.9527 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.003768, allocations: 7.984 kB / 0.9527 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.424e-05/0.003792, allocations: 8 kB / 0.9528 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.865e-05/0.003821, allocations: 3.938 kB / 0.9528 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.195e-06/0.003829, allocations: 0 / 0.9528 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.003934, allocations: 19.91 kB / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.787e-06/0.003942, allocations: 0 / 0.9528 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.113e-05/0.003954, allocations: 4 kB / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.653e-05/0.00404, allocations: 19.86 kB / 0.9528 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.004043, allocations: 0 / 0.9528 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.82e-07/0.004044, allocations: 0 / 0.9528 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.004047, allocations: 0 / 0.9528 GB, free: 9.672 MB / 0.8575 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.0002855/0.004333, allocations: 238.4 kB / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.00437, allocations: 12.03 kB / 0.953 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.004404, allocations: 0.9375 kB / 0.953 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.641e-05/0.0045, allocations: 113.8 kB / 0.9531 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.004512, allocations: 384 / 0.9531 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.004536, allocations: 4.328 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.00463, allocations: 30.27 kB / 0.9532 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.004641, allocations: 192 / 0.9532 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.004651, allocations: 4.375 kB / 0.9532 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.00466, allocations: 3.938 kB / 0.9532 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.004701, allocations: 19.91 kB / 0.9532 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.004826, allocations: 93.33 kB / 0.9533 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.005004, allocations: 42.55 kB / 0.9533 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.005031, allocations: 9.5 kB / 0.9533 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.005147, allocations: 8.078 kB / 0.9534 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.005176, allocations: 34.56 kB / 0.9534 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.005177, allocations: 0 / 0.9534 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.004515/0.009692, allocations: 0.5754 MB / 0.9539 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.009739, allocations: 51.41 kB / 0.954 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.779e-05/0.009797, allocations: 89.86 kB / 0.9541 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.009822, allocations: 29.7 kB / 0.9541 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.009861, allocations: 84.08 kB / 0.9542 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.009903, allocations: 19.8 kB / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.009968, allocations: 21.7 kB / 0.9542 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.01011, allocations: 314.8 kB / 0.9545 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/0.01076, allocations: 83.95 kB / 0.9546 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006638/0.01142, allocations: 102.5 kB / 0.9547 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.01269, allocations: 190.4 kB / 0.9549 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01269, allocations: 0 / 0.9549 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001364/0.01405, allocations: 213.6 kB / 0.9551 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.01407, allocations: 7.938 kB / 0.9551 GB, free: 7.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01408, allocations: 8.25 kB / 0.9551 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01409, allocations: 0 / 0.9551 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.01453, allocations: 59.91 kB / 0.9552 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.01454, allocations: 0 / 0.9552 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.01491, allocations: 39.97 kB / 0.9552 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01493, allocations: 4 kB / 0.9552 GB, free: 7.016 MB / 0.8575 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.0001081/0.01504, allocations: 113.8 kB / 0.9553 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.01506, allocations: 0 / 0.9553 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.01651, allocations: 233.1 kB / 0.9555 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.01652, allocations: 4 kB / 0.9555 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.01652, allocations: 3.938 kB / 0.9555 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01653, allocations: 4 kB / 0.9556 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001616/0.01814, allocations: 394.2 kB / 0.9559 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01815, allocations: 0 / 0.9559 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.01857, allocations: 51.91 kB / 0.956 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.01857, allocations: 3.938 kB / 0.956 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.01859, allocations: 4 kB / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01859, allocations: 0 / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01859, allocations: 0 / 0.956 GB, free: 6.168 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.02003, allocations: 303.4 kB / 0.9563 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.02004, allocations: 4 kB / 0.9563 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.02007, allocations: 7.922 kB / 0.9563 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.02047, allocations: 43.98 kB / 0.9563 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.02049, allocations: 3.938 kB / 0.9563 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.0205, allocations: 8.172 kB / 0.9563 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.02055, allocations: 75.28 kB / 0.9564 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.02055, allocations: 0 / 0.9564 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002683/0.02082, allocations: 8 kB / 0.9564 GB, free: 5.707 MB / 0.8575 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.0002131/0.02103, allocations: 107.1 kB / 0.9565 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.02245, allocations: 192 kB / 0.9567 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02245, allocations: 0 / 0.9567 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006706/0.02313, allocations: 88.02 kB / 0.9568 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.02338, allocations: 8 kB / 0.9568 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.02468, allocations: 220.8 kB / 0.957 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.767e-05/0.02475, allocations: 63.28 kB / 0.9571 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001839/0.02494, allocations: 31.98 kB / 0.9571 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/0.02501, allocations: 12.92 kB / 0.9571 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.02501, allocations: 0 / 0.9571 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of Templates: time 0.003582/0.02859, allocations: 0.822 MB / 0.9579 GB, free: 4.133 MB / 0.8575 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.752951260656118]