Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002268/0.002268, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003735/0.003735, allocations: 220.8 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.929/2.929, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|der.y.|der2_y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.14 kB / 1.119 GB, free: 40.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3982, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001954/0.4002, allocations: 0.6071 MB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.4018, allocations: 1.167 MB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.4018, allocations: 0 / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.4019, allocations: 0 / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.4021, allocations: 19.92 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.568e-06/0.4021, allocations: 4 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.333e-05/0.4022, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.4022, allocations: 0 / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.4022, allocations: 7.938 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.425e-05/0.4023, allocations: 3.984 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.4023, allocations: 0 / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.4024, allocations: 19.92 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.743e-06/0.4024, allocations: 0 / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.4024, allocations: 7.938 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.136e-05/0.4025, allocations: 19.97 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4025, allocations: 0 / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4025, allocations: 3.938 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4025, allocations: 0 / 1.286 GB, free: 9.309 MB / 0.9825 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.0003185/0.4028, allocations: 246.4 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4029, allocations: 12.03 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.4029, allocations: 4.875 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.403, allocations: 106.5 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.403, allocations: 384 / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.4031, allocations: 4.375 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.4032, allocations: 46 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4032, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.4032, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4032, allocations: 0 / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/0.4033, allocations: 7.984 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.4034, allocations: 124.7 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.4036, allocations: 38.55 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.4037, allocations: 10.66 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.4038, allocations: 12.08 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4038, allocations: 38.5 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4038, allocations: 0 / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.004586/0.4084, allocations: 0.5638 MB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.4085, allocations: 55.34 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.808e-05/0.4085, allocations: 93.86 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.4085, allocations: 25.7 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.4086, allocations: 84.14 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.4086, allocations: 15.84 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.4087, allocations: 21.7 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4088, allocations: 310.8 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.4095, allocations: 87.95 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.4101, allocations: 106.5 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.4113, allocations: 186.5 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4113, allocations: 0 / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001307/0.4126, allocations: 221.5 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4126, allocations: 4 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4127, allocations: 0 / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4127, allocations: 4 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004196/0.4131, allocations: 51.94 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4131, allocations: 7.984 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.4135, allocations: 43.97 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.4135, allocations: 4 kB / 1.289 GB, free: 6.613 MB / 0.9825 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.000103/0.4136, allocations: 105.8 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.4136, allocations: 8.359 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.415, allocations: 237.4 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.415, allocations: 3.938 kB / 1.289 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4151, allocations: 11.92 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.4151, allocations: 3.984 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.4166, allocations: 425.5 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4167, allocations: 0 / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.417, allocations: 47.97 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.417, allocations: 0 / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.4171, allocations: 3.984 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.4171, allocations: 7.938 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4171, allocations: 0 / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.4184, allocations: 303.3 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.4184, allocations: 8 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.4184, allocations: 4 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.4188, allocations: 39.98 kB / 1.29 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.4188, allocations: 7.922 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.4188, allocations: 0 / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.4188, allocations: 75.28 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4188, allocations: 0 / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000263/0.4191, allocations: 12 kB / 1.29 GB, free: 5.258 MB / 0.9825 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.000194/0.4193, allocations: 103.2 kB / 1.29 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.4206, allocations: 191.8 kB / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4206, allocations: 0 / 1.29 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006165/0.4212, allocations: 88.08 kB / 1.291 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.4214, allocations: 7.938 kB / 1.291 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.4227, allocations: 234.5 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.423, allocations: 0.6768 MB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.4231, allocations: 11.44 kB / 1.291 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.4231, allocations: 4 kB / 1.291 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of Templates: time 0.002898/0.426, allocations: 1.098 MB / 1.292 GB, free: 2.785 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.877874730009353]