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.001249/0.001249, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001419/0.001419, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.568/2.568, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 0.8686 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.779/0.7802, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001869/0.7821, allocations: 0.6566 MB / 1.017 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.7835, allocations: 1.104 MB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.323e-05/0.7835, allocations: 0 / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.7835, allocations: 3.938 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.7838, allocations: 23.91 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.237e-06/0.7838, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.373e-05/0.7838, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.526e-05/0.7839, allocations: 8 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.526e-05/0.7839, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.494e-05/0.7839, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.335e-06/0.7839, allocations: 0 / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.7841, allocations: 19.92 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.7841, allocations: 7.984 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.7841, allocations: 7.938 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.423e-05/0.7842, allocations: 11.98 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.7842, allocations: 0 / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7842, allocations: 0 / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.7842, allocations: 0 / 1.018 GB, free: 0.9805 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.0003127/0.7845, allocations: 323.6 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7846, allocations: 8.031 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.7846, allocations: 0.9375 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.7847, allocations: 168.3 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.7847, allocations: 4.359 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.7848, allocations: 4.375 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.7849, allocations: 38.02 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.7849, allocations: 0 / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.7849, allocations: 3.938 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.7849, allocations: 4 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.785, allocations: 7.984 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.7852, allocations: 149.7 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.7854, allocations: 38.55 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.7854, allocations: 4.859 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002003/0.7856, allocations: 85.19 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.7857, allocations: 42.5 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.7857, allocations: 0 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.004338/0.79, allocations: 0.5695 MB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.7901, allocations: 51.41 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.098e-05/0.7902, allocations: 89.86 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.7902, allocations: 25.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.7902, allocations: 80.14 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.7903, allocations: 27.72 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/0.7903, allocations: 17.72 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7905, allocations: 314.8 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.791, allocations: 79.95 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005784/0.7916, allocations: 110.5 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.7927, allocations: 194.6 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.7928, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001162/0.7939, allocations: 209.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.794, allocations: 8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.794, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.794, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.7944, allocations: 55.94 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.7944, allocations: 3.984 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.7947, allocations: 39.98 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.7948, allocations: 4 kB / 1.021 GB, free: 14 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 0.0001113/0.7949, allocations: 114.4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.7949, allocations: 3.938 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.7962, allocations: 237.1 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7962, allocations: 4 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7963, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.7963, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.7977, allocations: 462.3 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7977, allocations: 4.359 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.7981, allocations: 47.97 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7981, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.7981, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.7981, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7982, allocations: 0 / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.7994, allocations: 311.3 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.7994, allocations: 81.09 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.7995, allocations: 192 / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.7998, allocations: 51.97 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.7998, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.7998, allocations: 0 / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.7999, allocations: 79.28 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7999, allocations: 0 / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00026/0.8002, allocations: 12 kB / 1.022 GB, free: 12.52 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.0001893/0.8004, allocations: 107.2 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.8016, allocations: 183.8 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.8016, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005448/0.8021, allocations: 88.08 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.8024, allocations: 7.984 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.8034, allocations: 222.6 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.8037, allocations: 0.6731 MB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.8039, allocations: 28 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.804, allocations: 15.42 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.804, allocations: 3.938 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.002854/0.8068, allocations: 0.8018 MB / 1.024 GB, free: 10.34 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