Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001848/0.001848, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002235/0.002235, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.363/3.363, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_12_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.002039/0.002039, allocations: 74.77 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3816, allocations: 176.1 MB / 1.321 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001761/0.3833, allocations: 0.5934 MB / 1.321 GB, free: 2.672 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.3848, allocations: 1.163 MB / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.3849, allocations: 0 / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.3849, allocations: 0 / 1.323 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.3852, allocations: 19.94 kB / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.029e-06/0.3852, allocations: 0 / 1.323 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.118e-05/0.3852, allocations: 11.97 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.3853, allocations: 3.938 kB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.489e-05/0.3853, allocations: 0 / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.623e-05/0.3853, allocations: 7.938 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.3853, allocations: 4 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.3854, allocations: 15.98 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.084e-06/0.3854, allocations: 0 / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.3855, allocations: 7.922 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.791e-05/0.3856, allocations: 20.14 kB / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3856, allocations: 0 / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3856, allocations: 0 / 1.323 GB, free: 1.402 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3856, allocations: 4 kB / 1.323 GB, free: 1.398 MB / 1.014 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.0003524/0.3859, allocations: 319.5 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.386, allocations: 15.98 kB / 1.323 GB, free: 1.023 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.386, allocations: 30.75 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.63e-05/0.386, allocations: 0.9375 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3862, allocations: 164.4 kB / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3862, allocations: 384 / 1.323 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.3862, allocations: 4.359 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.3863, allocations: 37.83 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3863, allocations: 7.891 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3863, allocations: 7.938 kB / 1.323 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3863, allocations: 4 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.191e-05/0.3864, allocations: 11.98 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.3866, allocations: 145.7 kB / 1.323 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.3868, allocations: 34.61 kB / 1.323 GB, free: 484 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.3868, allocations: 12.86 kB / 1.323 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.387, allocations: 85.19 kB / 1.323 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.387, allocations: 42.44 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.387, allocations: 0 / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.00443/0.3914, allocations: 0.564 MB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3915, allocations: 51.41 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/0.3915, allocations: 89.86 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3916, allocations: 29.7 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.3916, allocations: 80.14 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.3917, allocations: 23.78 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.3917, allocations: 25.7 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3919, allocations: 314.8 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/0.3925, allocations: 79.95 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006325/0.3931, allocations: 106.5 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.3943, allocations: 190.4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3943, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001337/0.3957, allocations: 213.7 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.3957, allocations: 11.94 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.3957, allocations: 4 kB / 1.325 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3957, allocations: 3.984 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004214/0.3961, allocations: 47.97 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.3962, allocations: 7.984 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003632/0.3965, allocations: 39.97 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.3965, allocations: 8 kB / 1.325 GB, free: 14.36 MB / 1.029 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.806e-05/0.3966, allocations: 105.8 kB / 1.325 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3967, allocations: 7.938 kB / 1.325 GB, free: 14.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.3981, allocations: 237 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3981, allocations: 3.984 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3981, allocations: 0 / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3981, allocations: 4 kB / 1.326 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.3997, allocations: 454.4 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3998, allocations: 320 / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/0.4002, allocations: 55.97 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4002, allocations: 0 / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.4002, allocations: 0 / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4002, allocations: 4 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4002, allocations: 7.938 kB / 1.326 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.4016, allocations: 303.3 kB / 1.326 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.4016, allocations: 81.11 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.4016, allocations: 0 / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.402, allocations: 39.97 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.402, allocations: 11.94 kB / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.402, allocations: 0 / 1.327 GB, free: 12.97 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.4021, allocations: 79.28 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4021, allocations: 0 / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002758/0.4024, allocations: 12 kB / 1.327 GB, free: 12.88 MB / 1.029 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.001749/0.4041, allocations: 0.8374 MB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.4054, allocations: 179.9 kB / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4054, allocations: 0 / 1.328 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.406, allocations: 88.08 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.4063, allocations: 11.94 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.4077, allocations: 258.2 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.408, allocations: 0.6729 MB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.4082, allocations: 31.98 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.4082, allocations: 15.44 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.4082, allocations: 0 / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.4329, allocations: 1.646 MB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.518, allocations: 15.09 kB / 1.33 GB, free: 9.18 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.606013749027625]