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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.004656/0.004656, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001115/0.001115, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 0.9509 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001659/1.017, allocations: 0.59 MB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001175/1.018, allocations: 1.112 MB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/1.018, allocations: 1.125 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/1.018, allocations: 0 / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002434/1.018, allocations: 25.23 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.777e-06/1.018, allocations: 0.8438 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.571e-05/1.018, allocations: 2.453 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/1.018, allocations: 2.578 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/1.018, allocations: 4.797 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.324e-05/1.018, allocations: 6.062 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.625e-06/1.018, allocations: 0 / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/1.018, allocations: 29.36 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.322e-06/1.018, allocations: 0 / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/1.018, allocations: 1.062 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.414e-05/1.018, allocations: 13 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.018, allocations: 0.5156 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/1.018, allocations: 0.875 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.478e-06/1.018, allocations: 0 / 1.09 GB, free: 4.301 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.0002196/1.019, allocations: 323.1 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.019, allocations: 9.781 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/1.019, allocations: 2.281 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.003e-05/1.019, allocations: 161.5 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/1.019, allocations: 384 / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/1.019, allocations: 3.672 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.66e-05/1.019, allocations: 43.89 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.019, allocations: 0 / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/1.019, allocations: 1.062 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/1.019, allocations: 0 / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/1.019, allocations: 10.08 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/1.019, allocations: 155.3 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/1.019, allocations: 37.61 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/1.019, allocations: 12.47 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/1.02, allocations: 82.39 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/1.02, allocations: 40 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/1.02, allocations: 4 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.004302/1.024, allocations: 0.5693 MB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/1.024, allocations: 53.05 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.846e-05/1.024, allocations: 90.64 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.024, allocations: 25.7 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.617e-05/1.024, allocations: 81.11 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/1.024, allocations: 18.81 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/1.024, allocations: 24.42 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.808e-05/1.024, allocations: 312.9 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006092/1.025, allocations: 83 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/1.025, allocations: 102 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.027, allocations: 194.1 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.027, allocations: 8.906 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001237/1.028, allocations: 212.7 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.028, allocations: 9.5 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.028, allocations: 1.312 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/1.028, allocations: 1.031 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/1.028, allocations: 50.69 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/1.028, allocations: 1.031 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/1.029, allocations: 44.95 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/1.029, allocations: 3.484 kB / 1.092 GB, free: 2.441 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 6.619e-05/1.029, allocations: 112.4 kB / 1.092 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/1.029, allocations: 8.766 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/1.03, allocations: 239.5 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.03, allocations: 0.75 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/1.03, allocations: 1.453 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.03, allocations: 0 / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/1.032, allocations: 455.2 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.032, allocations: 0 / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/1.032, allocations: 48.88 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/1.032, allocations: 1.375 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/1.032, allocations: 1.422 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.032, allocations: 0.8125 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.032, allocations: 4.703 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/1.033, allocations: 305.7 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/1.033, allocations: 82.38 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/1.033, allocations: 1.562 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/1.034, allocations: 48.05 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/1.034, allocations: 3.047 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/1.034, allocations: 2.438 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.442e-05/1.034, allocations: 79.28 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/1.034, allocations: 3.938 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002448/1.034, allocations: 14.67 kB / 1.094 GB, free: 1.562 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.0001714/1.034, allocations: 102.5 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001298/1.036, allocations: 186.6 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.036, allocations: 0.6875 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006196/1.036, allocations: 89.22 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/1.036, allocations: 6.703 kB / 1.094 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/1.038, allocations: 216 kB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/1.038, allocations: 0.6762 MB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001668/1.038, allocations: 29.23 kB / 1.095 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/1.038, allocations: 11.31 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/1.038, allocations: 0 / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of Templates: time 0.003277/1.041, allocations: 0.819 MB / 1.096 GB, free: 0.4922 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