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.000844/0.000844, 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.0008602/0.0008602, allocations: 170.3 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.9001/0.9001, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.628/1.628, allocations: 359 MB / 0.6037 GB, free: 11.09 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.553e-06/1.553e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.521e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001545/0.001561, allocations: 1.29 MB / 0.9518 GB, free: 2.168 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001554/0.003115, allocations: 1.536 MB / 0.9533 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.504e-05/0.00315, allocations: 0 / 0.9533 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.003175, allocations: 0 / 0.9533 GB, free: 0.625 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.003403, allocations: 23.86 kB / 0.9533 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.003862, allocations: 223.2 kB / 0.9535 GB, free: 396 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.35e-05/0.003925, allocations: 23.92 kB / 0.9535 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.00396, allocations: 0 / 0.9535 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.004087, allocations: 35.91 kB / 0.9536 GB, free: 336 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.004407, allocations: 3.984 kB / 0.9536 GB, free: 332 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.004421, allocations: 4 kB / 0.9536 GB, free: 328 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.004631, allocations: 151.7 kB / 0.9537 GB, free: 176 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.908e-06/0.004641, allocations: 4 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.004658, allocations: 7.938 kB / 0.9537 GB, free: 164 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.004849, allocations: 163.6 kB / 0.9539 GB, free: 0 / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.656e-05/0.004866, allocations: 4.078 kB / 0.9539 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004867, allocations: 3.938 kB / 0.9539 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.004871, allocations: 0 / 0.9539 GB, free: 15.99 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.0002804/0.005152, allocations: 301.8 kB / 0.9542 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.005189, allocations: 12.03 kB / 0.9542 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.87e-05/0.005227, allocations: 106 kB / 0.9543 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.005278, allocations: 76.22 kB / 0.9544 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.005399, allocations: 185.1 kB / 0.9545 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.005442, allocations: 158.9 kB / 0.9547 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.005489, allocations: 154.9 kB / 0.9548 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.726e-05/0.005546, allocations: 109.3 kB / 0.9549 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.005569, allocations: 75.28 kB / 0.955 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.005608, allocations: 150.6 kB / 0.9552 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.005644, allocations: 150.6 kB / 0.9553 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.174e-05/0.005686, allocations: 154.6 kB / 0.9554 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002198/0.005905, allocations: 433 kB / 0.9559 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.66e-05/0.005972, allocations: 173.1 kB / 0.956 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.005998, allocations: 80.14 kB / 0.9561 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.006021, allocations: 79.28 kB / 0.9562 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.006056, allocations: 109.8 kB / 0.9563 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.006057, allocations: 0 / 0.9563 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 6.851e-05/0.006125, allocations: 29.7 kB / 0.9563 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.006175, allocations: 134.6 kB / 0.9564 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.00626, allocations: 101.9 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.006274, allocations: 33.7 kB / 0.9566 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.006306, allocations: 84.08 kB / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-06/0.006309, allocations: 0 / 0.9566 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.006338, allocations: 25.7 kB / 0.9567 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.006422, allocations: 310.8 kB / 0.957 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.006433, allocations: 4 kB / 0.957 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.006498, allocations: 107.7 kB / 0.9571 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/0.006534, allocations: 26.52 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.006536, allocations: 0 / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001114/0.006648, allocations: 53.62 kB / 0.9571 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.006663, allocations: 14.59 kB / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.006669, allocations: 0 / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.006682, allocations: 0 / 0.9572 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.322e-05/0.006745, allocations: 7.984 kB / 0.9572 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.00675, allocations: 0 / 0.9572 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.96e-05/0.00684, allocations: 11.95 kB / 0.9572 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.006849, allocations: 4.25 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.387e-05/0.006923, allocations: 189.2 kB / 0.9574 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.006967, allocations: 112.8 kB / 0.9575 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.007013, allocations: 112.1 kB / 0.9576 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-05/0.007062, allocations: 184.3 kB / 0.9578 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-05/0.007107, allocations: 180.2 kB / 0.9579 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.079e-05/0.007148, allocations: 180.3 kB / 0.9581 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.007285, allocations: 380.2 kB / 0.9585 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.491e-05/0.00731, allocations: 101 kB / 0.9586 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-05/0.007334, allocations: 105 kB / 0.9587 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.169e-05/0.007376, allocations: 188.1 kB / 0.9588 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.007418, allocations: 176.3 kB / 0.959 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.235e-05/0.007461, allocations: 184.2 kB / 0.9592 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.326e-05/0.007504, allocations: 184.3 kB / 0.9594 GB, free: 10 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.597e-05/0.0076, allocations: 307.8 kB / 0.9596 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.007629, allocations: 101 kB / 0.9597 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.007678, allocations: 188.1 kB / 0.9599 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.754e-05/0.007726, allocations: 101 kB / 0.96 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.007783, allocations: 188.2 kB / 0.9602 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.007814, allocations: 105 kB / 0.9603 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.00785, allocations: 79.28 kB / 0.9604 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007851, allocations: 3.938 kB / 0.9604 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002503/0.008101, allocations: 55.8 kB / 0.9604 GB, free: 8.836 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.0009203/0.009021, allocations: 0.9974 MB / 0.9614 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.417e-05/0.009105, allocations: 4 kB / 0.9614 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.009108, allocations: 4 kB / 0.9614 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.009109, allocations: 0 / 0.9614 GB, free: 7.852 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.009371, allocations: 459.6 kB / 0.9619 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000767/0.01014, allocations: 1.353 MB / 0.9632 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.567e-05/0.01017, allocations: 59.34 kB / 0.9632 GB, free: 5.871 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.0102, allocations: 7.938 kB / 0.9632 GB, free: 5.863 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.01023, allocations: 8.5 kB / 0.9632 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.01023, allocations: 0 / 0.9632 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.02709, allocations: 3.286 MB / 0.9665 GB, free: 2.73 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.729/6.756, allocations: 23.14 kB / 0.9665 GB, free: 2.715 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.81435318570584]