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.001415/0.001415, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001514/0.001514, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.509/1.509, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.751/2.751, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 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.793e-06/1.793e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.614e-05/3.793e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002333/0.002371, allocations: 0.6166 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00243/0.0048, allocations: 1.126 MB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.004831, allocations: 4.688 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.004843, allocations: 0 / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.005104, allocations: 17.19 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.005108, allocations: 0 / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.00516, allocations: 11.92 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.005201, allocations: 5.609 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.474e-05/0.005226, allocations: 0 / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.005267, allocations: 4 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.005277, allocations: 0 / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.005392, allocations: 17.16 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.005404, allocations: 3.984 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.005421, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.49e-05/0.005506, allocations: 15.92 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005509, allocations: 0.625 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.62e-07/0.005509, allocations: 1.406 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.005516, allocations: 3.984 kB / 0.7882 GB, free: 10.93 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.0003164/0.005832, allocations: 242.4 kB / 0.7884 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.005874, allocations: 12.03 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.005921, allocations: 1.781 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.931e-05/0.00602, allocations: 105.8 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.006032, allocations: 0.9375 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.00606, allocations: 4.375 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.006162, allocations: 34.98 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.006182, allocations: 4.125 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.006191, allocations: 1.281 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006198, allocations: 3.938 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.006e-05/0.006238, allocations: 8.641 kB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.006384, allocations: 101.3 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.006584, allocations: 40.2 kB / 0.7887 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.006608, allocations: 8.859 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.00673, allocations: 8.078 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.00676, allocations: 30.56 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.006761, allocations: 1.344 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.004288/0.01105, allocations: 0.5766 MB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.01109, allocations: 51.41 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.039e-05/0.01116, allocations: 90.64 kB / 0.7895 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.01119, allocations: 29.7 kB / 0.7895 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.01123, allocations: 80.64 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.01128, allocations: 15.84 kB / 0.7896 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.01134, allocations: 22.67 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.0115, allocations: 310.8 kB / 0.7899 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.01213, allocations: 92.52 kB / 0.79 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006162/0.01274, allocations: 98.53 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.01396, allocations: 190.5 kB / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.01396, allocations: 192 / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001319/0.01528, allocations: 217.5 kB / 0.7905 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.0153, allocations: 8 kB / 0.7905 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.01531, allocations: 4.094 kB / 0.7905 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.01533, allocations: 3.984 kB / 0.7905 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.01574, allocations: 59.94 kB / 0.7906 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.01575, allocations: 0 / 0.7906 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/0.01611, allocations: 43.97 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.01612, allocations: 0 / 0.7906 GB, free: 8.336 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.0001054/0.01623, allocations: 109.8 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.01626, allocations: 4 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.0177, allocations: 241.1 kB / 0.791 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.0177, allocations: 0 / 0.791 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.01771, allocations: 3.938 kB / 0.791 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01771, allocations: 0 / 0.791 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/0.01931, allocations: 402.1 kB / 0.7913 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01932, allocations: 0 / 0.7913 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003969/0.01971, allocations: 55.91 kB / 0.7914 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.01972, allocations: 3.938 kB / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.01973, allocations: 0 / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01973, allocations: 0 / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01974, allocations: 0 / 0.7914 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.02111, allocations: 303.5 kB / 0.7917 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-06/0.02112, allocations: 4 kB / 0.7917 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.02115, allocations: 7.938 kB / 0.7917 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.02153, allocations: 44.16 kB / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.02154, allocations: 0 / 0.7917 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.02156, allocations: 4 kB / 0.7917 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.517e-05/0.0216, allocations: 79.28 kB / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0216, allocations: 0 / 0.7918 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002664/0.02187, allocations: 11.98 kB / 0.7918 GB, free: 7.02 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.0002219/0.02209, allocations: 119.1 kB / 0.7919 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001318/0.02341, allocations: 172 kB / 0.7921 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02341, allocations: 0 / 0.7921 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006296/0.02404, allocations: 96 kB / 0.7922 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.02427, allocations: 9.547 kB / 0.7922 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.02551, allocations: 216.6 kB / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.078e-05/0.02558, allocations: 59.34 kB / 0.7925 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001879/0.02577, allocations: 31.98 kB / 0.7925 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.02586, allocations: 12.5 kB / 0.7925 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.02586, allocations: 0 / 0.7925 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.003595/0.02945, allocations: 0.837 MB / 0.7933 GB, free: 5.441 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=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.648183373967186]