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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001176/0.001176, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001511/0.001511, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.758/2.758, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005637/0.0005638, allocations: 12 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.7746, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007491/0.7754, allocations: 321.3 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.7767, allocations: 1.077 MB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.7767, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.083e-05/0.7767, allocations: 0 / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.777, allocations: 15.98 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 2.956e-06/0.777, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.58e-05/0.777, allocations: 7.938 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.7771, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.606e-05/0.7771, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.956e-05/0.7772, allocations: 3.984 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.743e-06/0.7772, allocations: 4 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.843e-05/0.7773, allocations: 19.92 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.31e-06/0.7773, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.7773, allocations: 29.69 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.373e-05/0.7774, allocations: 4 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7774, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7774, allocations: 3.938 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.7774, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 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.0002698/0.7777, allocations: 323.3 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.7777, allocations: 8.562 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.7778, allocations: 4 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.7779, allocations: 163 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.7779, allocations: 3.938 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.7779, allocations: 4 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.778, allocations: 41.64 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.778, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.7781, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.7781, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.369e-05/0.7781, allocations: 4 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.7783, allocations: 157.7 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.7785, allocations: 34.55 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.7785, allocations: 16.84 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001608/0.7787, allocations: 81.19 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.7787, allocations: 38.52 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.7787, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.00366/0.7824, allocations: 0.5735 MB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.7824, allocations: 51.41 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.856e-05/0.7825, allocations: 89.86 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.7825, allocations: 25.7 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.7825, allocations: 80.14 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.7826, allocations: 23.66 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.7826, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7827, allocations: 310.8 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/0.7832, allocations: 91.94 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.7837, allocations: 98.53 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.7842, allocations: 91.89 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.7842, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001022/0.7852, allocations: 209.8 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.7853, allocations: 13.5 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.7853, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7853, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.7857, allocations: 48 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.7857, allocations: 4 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.786, allocations: 35.98 kB / 1.026 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.786, allocations: 4 kB / 1.026 GB, free: 11.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.7861, allocations: 117.8 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.7861, allocations: 4 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.7873, allocations: 237 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.7873, allocations: 7.875 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7873, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7873, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.7886, allocations: 454.5 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.7886, allocations: 3.953 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/0.7889, allocations: 51.97 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.7889, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.7889, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7889, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7889, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.79, allocations: 311.4 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.655e-05/0.79, allocations: 81.06 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.79, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.7903, allocations: 43.97 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.7904, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.7904, allocations: 8.125 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.577e-05/0.7904, allocations: 75.28 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7904, allocations: 0 / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002448/0.7907, allocations: 12 kB / 1.028 GB, free: 10.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002162/0.7909, allocations: 115.2 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.7919, allocations: 180 kB / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7919, allocations: 0 / 1.028 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004802/0.7924, allocations: 92 kB / 1.028 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.7926, allocations: 8 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009965/0.7936, allocations: 214.2 kB / 1.028 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.794, allocations: 0.677 MB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000233/0.7942, allocations: 31.98 kB / 1.029 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.205e-05/0.7943, allocations: 11.44 kB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of SimCode: time 3.71e-07/0.7943, allocations: 0 / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of Templates: time 0.003329/0.7976, allocations: 0.8009 MB / 1.03 GB, free: 8.066 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