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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001412, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002242/0.002242, allocations: 194.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.679/0.6801, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001738/0.6819, allocations: 0.6527 MB / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.6832, allocations: 1.1 MB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.6832, allocations: 3.938 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.6832, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.6834, allocations: 11.98 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.587e-06/0.6835, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 2.894e-05/0.6835, allocations: 0 / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.6835, allocations: 8 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.343e-05/0.6836, allocations: 11.92 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.989e-05/0.6836, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.382e-06/0.6836, allocations: 7.875 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-05/0.6837, allocations: 19.98 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.6837, allocations: 7.984 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.133e-05/0.6837, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.084e-05/0.6838, allocations: 15.92 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6838, allocations: 3.984 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6838, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6838, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 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.0002687/0.6841, allocations: 319.6 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.6841, allocations: 8.031 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.6842, allocations: 4.875 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.6843, allocations: 164.4 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.6844, allocations: 384 / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.6844, allocations: 4.375 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.182e-05/0.6845, allocations: 38.02 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.6845, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.6845, allocations: 0 / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6845, allocations: 3.984 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.6846, allocations: 11.94 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.6847, allocations: 153.7 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.6849, allocations: 34.56 kB / 1.019 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.6849, allocations: 12.94 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001474/0.685, allocations: 77.11 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.6851, allocations: 38.5 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6851, allocations: 4 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.004441/0.6895, allocations: 0.5734 MB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.6896, allocations: 51.41 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.4e-05/0.6896, allocations: 89.86 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.6897, allocations: 29.7 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.84e-05/0.6897, allocations: 84.08 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.6897, allocations: 19.73 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.6898, allocations: 17.72 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6899, allocations: 314.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.6905, allocations: 87.94 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.6911, allocations: 98.53 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.6923, allocations: 194.4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6923, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001183/0.6935, allocations: 209.5 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.6935, allocations: 11.98 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.6935, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6935, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.6939, allocations: 56 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.6939, allocations: 3.938 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.6943, allocations: 39.98 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.6943, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 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 9.142e-05/0.6944, allocations: 114.4 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.6944, allocations: 11.86 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.6958, allocations: 237 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6958, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6958, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6958, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.6973, allocations: 462.3 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6973, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.6977, allocations: 51.91 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6977, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.6978, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6978, allocations: 320 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6978, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.6991, allocations: 307.4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.6991, allocations: 81.11 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.6992, allocations: 4 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.6995, allocations: 43.97 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.6996, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.6996, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.583e-05/0.6996, allocations: 79.28 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6996, allocations: 0 / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002536/0.6999, allocations: 12 kB / 1.023 GB, free: 12.45 MB / 0.7794 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.0001739/0.7001, allocations: 115.2 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.7014, allocations: 179.9 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7014, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.702, allocations: 92 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.7022, allocations: 4.75 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.7034, allocations: 221 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.7036, allocations: 0.6729 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.7039, allocations: 31.98 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.7039, allocations: 11.44 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7039, allocations: 0 / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.002897/0.7068, allocations: 0.8215 MB / 1.025 GB, free: 10.26 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches