Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.0009239/0.0009239, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009102/0.0009102, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9261/0.9261, allocations: 177.1 MB / 202.7 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.708/1.708, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.303e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001788/0.001811, allocations: 1.297 MB / 0.9518 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.003451, allocations: 1.536 MB / 0.9533 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.003485, allocations: 0 / 0.9533 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.003504, allocations: 3.984 kB / 0.9533 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.003729, allocations: 11.92 kB / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006228/0.004351, allocations: 214.4 kB / 0.9535 GB, free: 404 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.004421, allocations: 19.92 kB / 0.9535 GB, free: 384 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.004465, allocations: 7.938 kB / 0.9535 GB, free: 376 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.004605, allocations: 31.84 kB / 0.9535 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.00466, allocations: 11.98 kB / 0.9536 GB, free: 332 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.004673, allocations: 0 / 0.9536 GB, free: 332 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.004885, allocations: 151.8 kB / 0.9537 GB, free: 180 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.004897, allocations: 7.922 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.004917, allocations: 8 kB / 0.9537 GB, free: 164 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.00515, allocations: 171.6 kB / 0.9539 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.005153, allocations: 3.938 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.793e-06/0.005155, allocations: 3.938 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.00516, allocations: 0 / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002996/0.005459, allocations: 293.9 kB / 0.9542 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.005499, allocations: 8.031 kB / 0.9542 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.005539, allocations: 106 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.005594, allocations: 88.22 kB / 0.9544 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.005707, allocations: 181.1 kB / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.112e-05/0.005748, allocations: 154.9 kB / 0.9547 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.00579, allocations: 158.9 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.481e-05/0.005845, allocations: 105.3 kB / 0.9549 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.005866, allocations: 75.28 kB / 0.955 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.005901, allocations: 150.6 kB / 0.9551 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.321e-05/0.005934, allocations: 154.5 kB / 0.9553 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.005973, allocations: 154.6 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.006194, allocations: 428.9 kB / 0.9558 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.006259, allocations: 173.2 kB / 0.956 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.786e-05/0.006287, allocations: 88.14 kB / 0.9561 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.006309, allocations: 79.22 kB / 0.9562 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.006343, allocations: 109.8 kB / 0.9563 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.006344, allocations: 3.938 kB / 0.9563 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.671e-05/0.00641, allocations: 29.7 kB / 0.9563 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.006458, allocations: 126.7 kB / 0.9564 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.006545, allocations: 105.8 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.006557, allocations: 25.7 kB / 0.9566 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.006591, allocations: 88.14 kB / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.006593, allocations: 0 / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.006623, allocations: 21.7 kB / 0.9567 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.006697, allocations: 314.8 kB / 0.957 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.151e-05/0.006708, allocations: 4 kB / 0.957 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.006768, allocations: 115.6 kB / 0.9571 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.006805, allocations: 18.58 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006807, allocations: 0 / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001154/0.006923, allocations: 53.62 kB / 0.9571 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.006939, allocations: 14.53 kB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.006944, allocations: 0 / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.006958, allocations: 0 / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.007029, allocations: 11.94 kB / 0.9572 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.007034, allocations: 0 / 0.9572 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.897e-05/0.007133, allocations: 7.984 kB / 0.9572 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.007143, allocations: 4 kB / 0.9572 GB, free: 12.37 MB / 0.9167 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 (3): * Single equations (assignments): 3 * 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 7.91e-05/0.007222, allocations: 185.1 kB / 0.9574 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.007261, allocations: 116.8 kB / 0.9575 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.67e-05/0.007298, allocations: 112.1 kB / 0.9576 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.024e-05/0.007338, allocations: 180.3 kB / 0.9577 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.962e-05/0.007378, allocations: 180.3 kB / 0.9579 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-05/0.00742, allocations: 184.2 kB / 0.9581 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.007562, allocations: 372.5 kB / 0.9585 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-05/0.007586, allocations: 104.9 kB / 0.9586 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.007611, allocations: 113 kB / 0.9587 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-05/0.007652, allocations: 184.2 kB / 0.9588 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.007694, allocations: 180.2 kB / 0.959 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.845e-05/0.007732, allocations: 180.3 kB / 0.9592 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.963e-05/0.007772, allocations: 184.2 kB / 0.9594 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.87e-05/0.00787, allocations: 311.8 kB / 0.9597 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.007907, allocations: 108.9 kB / 0.9598 GB, free: 9.559 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.007958, allocations: 180.2 kB / 0.9599 GB, free: 9.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.072e-05/0.008008, allocations: 104.9 kB / 0.96 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.008059, allocations: 180.3 kB / 0.9602 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.008084, allocations: 108.9 kB / 0.9603 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001777/0.008262, allocations: 83.28 kB / 0.9604 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008262, allocations: 0 / 0.9604 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000233/0.008495, allocations: 55.8 kB / 0.9604 GB, free: 8.832 MB / 0.9167 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.0006475/0.009142, allocations: 0.9832 MB / 0.9614 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.009228, allocations: 15.92 kB / 0.9614 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.00923, allocations: 0 / 0.9614 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.00923, allocations: 0 / 0.9614 GB, free: 7.848 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.009493, allocations: 460.2 kB / 0.9618 GB, free: 7.395 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008324/0.01033, allocations: 1.345 MB / 0.9632 GB, free: 5.953 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.01036, allocations: 63.23 kB / 0.9632 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.01039, allocations: 8.25 kB / 0.9632 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.01043, allocations: 16.48 kB / 0.9632 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of SimCode: time 3.8e-07/0.01043, allocations: 0 / 0.9632 GB, free: 5.848 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.03106, allocations: 3.28 MB / 0.9664 GB, free: 2.73 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.877, allocations: 10.52 kB / 0.9665 GB, free: 2.723 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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: 10.951005383394659]