Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001638/0.001638, allocations: 113.3 kB / 15.7 MB, free: 124 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.001902/0.001902, allocations: 197.8 kB / 16.64 MB, free: 6.609 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.208/1.208, allocations: 222.9 MB / 240.3 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.096/2.096, allocations: 390.3 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001075, allocations: 65.31 kB / 0.9509 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2735, allocations: 140.4 MB / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001553/0.2751, allocations: 0.5897 MB / 1.089 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2763, allocations: 1.104 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.2764, allocations: 4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.2764, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.2766, allocations: 19.86 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.077e-06/0.2766, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.256e-05/0.2767, allocations: 4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.2767, allocations: 7.984 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.337e-05/0.2768, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.268e-05/0.2768, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.2768, allocations: 7.938 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.2769, allocations: 19.92 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.203e-06/0.2769, allocations: 7.984 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.277, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.02e-05/0.277, allocations: 15.98 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2771, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2771, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2771, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 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.0002544/0.2773, allocations: 317.6 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2774, allocations: 8.031 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.2774, allocations: 4.875 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.763e-05/0.2775, allocations: 160.4 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2775, allocations: 12.38 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.2776, allocations: 4.312 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.545e-05/0.2777, allocations: 45.92 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2777, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.2777, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.2777, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.2777, allocations: 11.98 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.2779, allocations: 145.7 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.278, allocations: 42.55 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.2781, allocations: 8.859 kB / 1.09 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.2782, allocations: 85.19 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.2782, allocations: 38.5 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.2782, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.003854/0.2821, allocations: 0.5753 MB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.2821, allocations: 55.41 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.006e-05/0.2822, allocations: 89.86 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2822, allocations: 25.7 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.2822, allocations: 85.56 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.2823, allocations: 11.81 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.2823, allocations: 17.7 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.862e-05/0.2824, allocations: 314.8 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.283, allocations: 83.95 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.2835, allocations: 106.5 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.2846, allocations: 194.4 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2846, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00115/0.2858, allocations: 217.5 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.2858, allocations: 5.562 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2858, allocations: 7.984 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2858, allocations: 0 / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.2862, allocations: 48 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2862, allocations: 4 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.2865, allocations: 39.97 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.2865, allocations: 4 kB / 1.092 GB, free: 12.56 MB / 0.8575 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.354e-05/0.2866, allocations: 117.8 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.2867, allocations: 11.88 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.2879, allocations: 233.3 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2879, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2879, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2879, allocations: 4 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.2893, allocations: 470.2 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2893, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003539/0.2897, allocations: 43.98 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2897, allocations: 3.984 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.2897, allocations: 3.938 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.2897, allocations: 4 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2897, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.2909, allocations: 311.3 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.2909, allocations: 81.53 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.2909, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.2913, allocations: 35.98 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.2913, allocations: 7.984 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.2913, allocations: 0 / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.2913, allocations: 75.28 kB / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.2913, allocations: 0 / 1.094 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002346/0.2916, allocations: 20 kB / 1.094 GB, free: 11.06 MB / 0.8575 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.0001568/0.2917, allocations: 110.6 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.2929, allocations: 187.8 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2929, allocations: 0 / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.2935, allocations: 92.08 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.2937, allocations: 0 / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2947, allocations: 205 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.2949, allocations: 0.6807 MB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001568/0.2951, allocations: 27.91 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.969e-05/0.2952, allocations: 19.42 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2952, allocations: 3.938 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of Templates: time 0.00242/0.2976, allocations: 0.8078 MB / 1.096 GB, free: 8.879 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches