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.00183/0.00183, allocations: 83.69 kB / 20.23 MB, free: 4.18 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.001929/0.001929, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.54/1.54, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 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.914/2.914, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] 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 2.074e-06/2.074e-06, allocations: 0 / 0.7864 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.371e-05/3.579e-05, allocations: 5.703 kB / 0.7864 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002456/0.002492, allocations: 0.5937 MB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.004867, allocations: 1.149 MB / 0.7881 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.193e-05/0.004899, allocations: 0.7812 kB / 0.7881 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.004911, allocations: 0 / 0.7881 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.005184, allocations: 20.45 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.008e-06/0.005188, allocations: 0.9375 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.005233, allocations: 3.984 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.005279, allocations: 4 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.79e-05/0.005317, allocations: 8.828 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.848e-05/0.005346, allocations: 0 / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.005355, allocations: 3 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.005483, allocations: 15.94 kB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.005492, allocations: 0 / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.005508, allocations: 7.938 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.801e-05/0.005606, allocations: 15.91 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.005609, allocations: 0 / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.192e-06/0.00561, allocations: 0 / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.005614, allocations: 0 / 0.7882 GB, free: 10.9 MB / 0.7448 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.0004368/0.006051, allocations: 349.6 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.006096, allocations: 8.031 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.006146, allocations: 4.938 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.006265, allocations: 109.2 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.006279, allocations: 384 / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.006306, allocations: 5.453 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.006435, allocations: 38.2 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.006449, allocations: 4.188 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.006458, allocations: 0.9375 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.006466, allocations: 3.938 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.359e-05/0.00653, allocations: 9.516 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.00673, allocations: 112.6 kB / 0.7888 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.006975, allocations: 39.09 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.007014, allocations: 17 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.007147, allocations: 4.094 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.007194, allocations: 41.38 kB / 0.7889 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.007195, allocations: 0 / 0.7889 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.00393/0.01112, allocations: 351.7 kB / 0.7893 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.01118, allocations: 51.41 kB / 0.7893 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.01129, allocations: 142.2 kB / 0.7895 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.01132, allocations: 26.2 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.0114, allocations: 128.7 kB / 0.7896 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.971e-05/0.01147, allocations: 23.78 kB / 0.7896 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.01157, allocations: 27.36 kB / 0.7897 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003134/0.01188, allocations: 492.1 kB / 0.7901 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.01238, allocations: 49.09 kB / 0.7902 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.0129, allocations: 69.42 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009566/0.01386, allocations: 126.6 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01386, allocations: 0 / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001047/0.01491, allocations: 141.6 kB / 0.7905 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.01492, allocations: 4 kB / 0.7905 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.01493, allocations: 0 / 0.7905 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.01495, allocations: 4.062 kB / 0.7905 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.01558, allocations: 31.92 kB / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.01559, allocations: 4 kB / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.01591, allocations: 27.98 kB / 0.7906 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01592, allocations: 0 / 0.7906 GB, free: 8.328 MB / 0.7448 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.0001604/0.01609, allocations: 160.5 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.01612, allocations: 0 / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.01735, allocations: 169.4 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.01735, allocations: 4 kB / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.01736, allocations: 3.938 kB / 0.7909 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.01737, allocations: 4.406 kB / 0.7909 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.01881, allocations: 377.4 kB / 0.7912 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01881, allocations: 0 / 0.7912 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.01916, allocations: 27.98 kB / 0.7913 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.01917, allocations: 7.938 kB / 0.7913 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.0192, allocations: 3.984 kB / 0.7913 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.0192, allocations: 0 / 0.7913 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.0192, allocations: 0 / 0.7913 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.0204, allocations: 283.8 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.138e-05/0.02041, allocations: 3.984 kB / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.02044, allocations: 7.938 kB / 0.7916 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.02079, allocations: 20 kB / 0.7916 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.02082, allocations: 3.984 kB / 0.7916 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.02084, allocations: 0 / 0.7916 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.39e-05/0.02092, allocations: 127.2 kB / 0.7917 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02092, allocations: 0 / 0.7917 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004159/0.02134, allocations: 11.94 kB / 0.7917 GB, free: 7.059 MB / 0.7448 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.0002352/0.02157, allocations: 103.2 kB / 0.7918 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.02268, allocations: 119.6 kB / 0.7919 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02268, allocations: 0 / 0.7919 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.02324, allocations: 59.78 kB / 0.792 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.02357, allocations: 8 kB / 0.792 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.02476, allocations: 166.6 kB / 0.7922 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.292e-05/0.02485, allocations: 63.33 kB / 0.7922 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002873/0.02514, allocations: 31.98 kB / 0.7922 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.02524, allocations: 12.5 kB / 0.7923 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.02524, allocations: 3.938 kB / 0.7923 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of Templates: time 0.005214/0.03046, allocations: 0.8512 MB / 0.7931 GB, free: 5.59 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] 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.807278999011032]