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.001352/0.001352, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.0015/0.0015, allocations: 210.8 kB / 22.25 MB, free: 5.262 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.01/3.01, allocations: 476 MB / 0.7699 GB, free: 4.723 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [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.00221/0.00221, allocations: 64.16 kB / 1.117 GB, free: 40.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3284, allocations: 169.9 MB / 1.283 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002225/0.3306, allocations: 0.6027 MB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.3325, allocations: 1.12 MB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.3326, allocations: 0 / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.114e-05/0.3326, allocations: 11.88 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.3328, allocations: 23.84 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.582e-06/0.3329, allocations: 4 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.86e-05/0.3329, allocations: 0 / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.378e-05/0.333, allocations: 7.984 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.586e-05/0.333, allocations: 0 / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.633e-05/0.333, allocations: 0 / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.437e-06/0.333, allocations: 0 / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.3331, allocations: 11.94 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.3331, allocations: 7.984 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.3332, allocations: 11.94 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.403e-05/0.3332, allocations: 13.67 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3333, allocations: 0 / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3333, allocations: 0 / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3333, allocations: 0 / 1.284 GB, free: 10.42 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.0003193/0.3336, allocations: 250 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.3336, allocations: 8.031 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.3337, allocations: 30.75 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.3337, allocations: 0.9375 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3338, allocations: 114.4 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.3338, allocations: 384 / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.3338, allocations: 384 / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.334, allocations: 45.81 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.334, allocations: 4 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.334, allocations: 0 / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.334, allocations: 0 / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.318e-05/0.334, allocations: 7.984 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.3342, allocations: 120.8 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.3344, allocations: 38.55 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.3344, allocations: 10.61 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3346, allocations: 8.078 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3346, allocations: 38.5 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3346, allocations: 4 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.004285/0.3389, allocations: 0.5676 MB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.3389, allocations: 51.41 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.909e-05/0.339, allocations: 89.86 kB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.339, allocations: 29.7 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.3391, allocations: 84.14 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.3391, allocations: 15.83 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.3392, allocations: 21.7 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3393, allocations: 318.8 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.3399, allocations: 83.89 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.3405, allocations: 106.6 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.3417, allocations: 190.4 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3417, allocations: 4 kB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001261/0.343, allocations: 217.5 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.343, allocations: 8 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.343, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.343, allocations: 0 / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.3434, allocations: 56 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3434, allocations: 3.938 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.3438, allocations: 43.97 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3438, allocations: 0 / 1.287 GB, free: 7.688 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.0001334/0.344, allocations: 109.8 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.344, allocations: 4.359 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.3454, allocations: 241.1 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3454, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3454, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3454, allocations: 3.984 kB / 1.287 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.347, allocations: 421.5 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.347, allocations: 4 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.3474, allocations: 47.97 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.3474, allocations: 0 / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.3474, allocations: 4 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3474, allocations: 3.984 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3474, allocations: 3.938 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.3488, allocations: 303.6 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.3488, allocations: 11.94 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.3488, allocations: 8.062 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.3492, allocations: 35.98 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.3492, allocations: 7.984 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.3492, allocations: 0 / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.3493, allocations: 75.28 kB / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3493, allocations: 0 / 1.288 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002815/0.3496, allocations: 16 kB / 1.288 GB, free: 6.336 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.001784/0.3514, allocations: 0.8334 MB / 1.289 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.3527, allocations: 179.9 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3527, allocations: 0 / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006012/0.3533, allocations: 96.08 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.3535, allocations: 0 / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.3549, allocations: 260.7 kB / 1.289 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.867e-05/0.355, allocations: 59.34 kB / 1.289 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.3552, allocations: 28 kB / 1.289 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.3553, allocations: 15.42 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of SimCode: time 1.864e-06/0.3553, allocations: 0 / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.3883, allocations: 2.137 MB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.88, allocations: 6.984 kB / 1.292 GB, free: 2.781 MB / 0.9825 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv","/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: 19.03280961094424]