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.00141/0.00141, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 197.7 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.782/2.782, allocations: 437 MB / 0.7103 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.763, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001902/0.7649, allocations: 0.5841 MB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001413/0.7664, allocations: 1.108 MB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.159e-05/0.7664, allocations: 4 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.013e-05/0.7664, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.7667, allocations: 19.91 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 2.545e-06/0.7667, allocations: 0 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.306e-05/0.7667, allocations: 4 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.449e-05/0.7668, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.341e-05/0.7668, allocations: 11.94 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.675e-05/0.7668, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.43e-06/0.7668, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.7669, allocations: 15.98 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.7669, allocations: 15.91 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.395e-05/0.767, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.139e-05/0.767, allocations: 11.94 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.767, allocations: 3.984 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.352e-06/0.767, allocations: 0 / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7671, allocations: 0 / 1.019 GB, free: 0.7148 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.0002543/0.7673, allocations: 324.9 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.7674, allocations: 8.031 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.7674, allocations: 4.938 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.118e-05/0.7675, allocations: 164.4 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.7675, allocations: 384 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.7675, allocations: 384 / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.022e-05/0.7676, allocations: 38.02 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7676, allocations: 3.938 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.7677, allocations: 4 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.7677, allocations: 7.922 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.311e-05/0.7677, allocations: 11.94 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.7679, allocations: 149.7 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.768, allocations: 30.58 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.7681, allocations: 12.94 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.7682, allocations: 81.11 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.7682, allocations: 34.5 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.7683, allocations: 4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.004325/0.7726, allocations: 0.5739 MB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.7726, allocations: 51.41 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.094e-05/0.7727, allocations: 93.86 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.7727, allocations: 29.64 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.7727, allocations: 80.14 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.7728, allocations: 23.64 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.7728, allocations: 17.72 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.7729, allocations: 318.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/0.7736, allocations: 83.94 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006177/0.7742, allocations: 102.5 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.7754, allocations: 194.4 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.7754, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001291/0.7767, allocations: 209.5 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.7768, allocations: 7.984 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.7768, allocations: 7.984 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7768, allocations: 0 / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004127/0.7772, allocations: 48 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.7772, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003598/0.7776, allocations: 39.98 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.7776, allocations: 4 kB / 1.022 GB, free: 13.74 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 7.96e-05/0.7777, allocations: 109.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.7777, allocations: 11.92 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.7791, allocations: 241.2 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7792, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7792, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.7792, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.7807, allocations: 458.4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.7807, allocations: 7.938 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.7811, allocations: 47.97 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.7811, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.7812, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7812, allocations: 0 / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7812, allocations: 4 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.7825, allocations: 303.3 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.7825, allocations: 85.05 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.7826, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.783, allocations: 43.97 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.783, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.783, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.676e-05/0.783, allocations: 75.28 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.553e-06/0.783, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002554/0.7833, allocations: 15.94 kB / 1.023 GB, free: 12.25 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.0001674/0.7835, allocations: 103.2 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.7848, allocations: 183.9 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7848, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.7854, allocations: 92 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.7857, allocations: 8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.7869, allocations: 215.1 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.7871, allocations: 0.6729 MB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002283/0.7874, allocations: 31.98 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.7874, allocations: 11.44 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.7874, allocations: 0 / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.002926/0.7904, allocations: 0.8172 MB / 1.025 GB, free: 10.07 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