Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001707/0.001707, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001585/0.001585, allocations: 213.3 kB / 22.25 MB, free: 4.855 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.539/1.539, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.358/3.358, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.002063/0.002063, allocations: 67.7 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3922, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002853/0.395, allocations: 0.5841 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 6.773e-05/0.3951, allocations: 15.88 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.3951, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.3952, allocations: 4 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.835e-05/0.3952, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.627e-05/0.3953, allocations: 0 / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.877e-05/0.3953, allocations: 3.984 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.527e-05/0.3954, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.3954, allocations: 4 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.353e-05/0.3955, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3955, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.851e-06/0.3955, allocations: 0 / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.3955, allocations: 4 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/0.3955, allocations: 3.938 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.441e-05/0.3956, allocations: 7.984 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.3956, allocations: 4 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3956, allocations: 0 / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3956, allocations: 0 / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004717/0.3961, allocations: 238.7 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.3962, allocations: 8.031 kB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.867e-05/0.3962, allocations: 34.69 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.3963, allocations: 0.9375 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.3964, allocations: 106.5 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3965, allocations: 4.375 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3965, allocations: 384 / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.3966, allocations: 34.27 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3966, allocations: 3.938 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3966, allocations: 3.984 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3967, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.127e-05/0.3967, allocations: 0 / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004951/0.3972, allocations: 350.5 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.3973, allocations: 173.5 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.629e-05/0.3974, allocations: 80.14 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.3974, allocations: 79.28 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.114e-05/0.3975, allocations: 109.8 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/0.3975, allocations: 4 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001072/0.3976, allocations: 33.67 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.3977, allocations: 130.7 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3979, allocations: 97.8 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.3979, allocations: 25.7 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.398, allocations: 80.14 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.398, allocations: 0 / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.398, allocations: 13.72 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.3982, allocations: 326.9 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.3982, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-06/0.3982, allocations: 0 / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.439e-05/0.3983, allocations: 75.28 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.212e-05/0.3984, allocations: 83.22 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001002/0.3985, allocations: 33.64 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/0.3985, allocations: 79.28 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.576e-05/0.3986, allocations: 79.28 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001101/0.3987, allocations: 150.6 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.3988, allocations: 79.22 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001013/0.3989, allocations: 158.5 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.399, allocations: 83.22 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.589e-05/0.3991, allocations: 79.28 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.0002696/0.3993, allocations: 264.3 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3994, allocations: 104.9 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.3995, allocations: 104.1 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001068/0.3996, allocations: 185.3 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001166/0.3997, allocations: 184.2 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/0.3998, allocations: 176.3 kB / 1.368 GB, free: 9.398 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.4002, allocations: 380.2 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.676e-05/0.4003, allocations: 105 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.4004, allocations: 109 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/0.4005, allocations: 188.2 kB / 1.368 GB, free: 8.562 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.4006, allocations: 176.3 kB / 1.369 GB, free: 8.383 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001237/0.4007, allocations: 184.5 kB / 1.369 GB, free: 8.195 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001155/0.4008, allocations: 180.2 kB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.4011, allocations: 315.7 kB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/0.4012, allocations: 105 kB / 1.369 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.4013, allocations: 184.2 kB / 1.37 GB, free: 7.383 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4014, allocations: 101 kB / 1.37 GB, free: 7.277 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.4016, allocations: 184.3 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.4016, allocations: 112.9 kB / 1.37 GB, free: 6.973 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.777e-05/0.4017, allocations: 79.28 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4017, allocations: 0 / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004523/0.4022, allocations: 0 / 1.37 GB, free: 6.895 MB / 1.061 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 (0): * Single equations (assignments): 0 * 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.0007151/0.4029, allocations: 0.8048 MB / 1.371 GB, free: 6.059 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.191e-05/0.403, allocations: 3.938 kB / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.403, allocations: 0 / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.403, allocations: 0 / 1.371 GB, free: 6.055 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006451/0.4036, allocations: 467.7 kB / 1.371 GB, free: 5.594 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.4054, allocations: 1.528 MB / 1.373 GB, free: 3.988 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.117e-05/0.4055, allocations: 59.34 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.957e-06/0.4055, allocations: 0 / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.4055, allocations: 7.438 kB / 1.373 GB, free: 3.902 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.4055, allocations: 0 / 1.373 GB, free: 3.902 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03684/0.4424, allocations: 1.412 MB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.96, allocations: 5.203 kB / 1.374 GB, free: 2.625 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.119891532231122]