Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00722/0.00722, allocations: 97.05 kB / 15.73 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 190 kB / 16.67 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.561/2.561, allocations: 469.4 MB / 0.7421 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 63.91 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.708/0.7092, allocations: 159.1 MB / 1.22 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002297/0.7116, allocations: 1.267 MB / 1.221 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.7136, allocations: 1.441 MB / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.7136, allocations: 0 / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.7137, allocations: 0 / 1.222 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.7138, allocations: 15.91 kB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006395/0.7145, allocations: 217.4 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.7146, allocations: 23.92 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.7146, allocations: 4 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.092e-05/0.7147, allocations: 23.91 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.202e-05/0.7148, allocations: 4 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.7148, allocations: 0 / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.7151, allocations: 171.8 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.7151, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.569e-05/0.7152, allocations: 19.94 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.7154, allocations: 147.3 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7154, allocations: 0 / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.223e-06/0.7154, allocations: 0 / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.7155, allocations: 0 / 1.223 GB, free: 14.92 MB / 0.9512 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.0003293/0.7158, allocations: 375 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.7158, allocations: 12.62 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.7159, allocations: 114 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.716, allocations: 80.22 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.7161, allocations: 243.7 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.7161, allocations: 154.9 kB / 1.224 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.7162, allocations: 158.5 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.119e-05/0.7163, allocations: 101 kB / 1.224 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.7163, allocations: 75.28 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.089e-05/0.7163, allocations: 150.6 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/0.7164, allocations: 154.6 kB / 1.225 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.974e-05/0.7164, allocations: 154.5 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002486/0.7167, allocations: 461.9 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.7167, allocations: 173.1 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.7168, allocations: 84.14 kB / 1.225 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.7168, allocations: 75.28 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.22e-05/0.7169, allocations: 113.8 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.7169, allocations: 0 / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.599e-05/0.7169, allocations: 29.7 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.717, allocations: 126.7 kB / 1.226 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.867e-05/0.7171, allocations: 105.8 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.7171, allocations: 33.7 kB / 1.226 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.7172, allocations: 80.14 kB / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.7172, allocations: 0 / 1.226 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.7172, allocations: 25.7 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.7173, allocations: 310.8 kB / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.7173, allocations: 0 / 1.226 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.855e-05/0.7174, allocations: 42.48 kB / 1.226 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.7174, allocations: 22.52 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.7174, allocations: 0 / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001232/0.7175, allocations: 57.56 kB / 1.226 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.7176, allocations: 4 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.7176, allocations: 4.094 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.7176, allocations: 4 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.7177, allocations: 7.938 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.7177, allocations: 3.984 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.7178, allocations: 19.81 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.7179, allocations: 8 kB / 1.226 GB, free: 11.17 MB / 0.9512 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 8.501e-05/0.7179, allocations: 185.1 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.718, allocations: 109 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.7181, allocations: 112.1 kB / 1.227 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.983e-05/0.7181, allocations: 184.2 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.721e-05/0.7182, allocations: 176.3 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-05/0.7182, allocations: 184.2 kB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.7184, allocations: 405.2 kB / 1.228 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.883e-05/0.7185, allocations: 113.2 kB / 1.228 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.7185, allocations: 105 kB / 1.228 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.863e-05/0.7186, allocations: 176.3 kB / 1.228 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/0.7186, allocations: 184.2 kB / 1.228 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.696e-05/0.7187, allocations: 180.3 kB / 1.228 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.981e-05/0.7187, allocations: 184.2 kB / 1.229 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.7188, allocations: 307.8 kB / 1.229 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.7189, allocations: 186 kB / 1.229 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.029e-05/0.719, allocations: 176.3 kB / 1.229 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.7191, allocations: 112.9 kB / 1.229 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.7191, allocations: 180.3 kB / 1.23 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.7192, allocations: 105 kB / 1.23 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.676e-05/0.7192, allocations: 79.28 kB / 1.23 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7192, allocations: 0 / 1.23 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003121/0.7195, allocations: 55.8 kB / 1.23 GB, free: 7.52 MB / 0.9512 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.0007334/0.7203, allocations: 0.9783 MB / 1.231 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.321e-05/0.7203, allocations: 15.92 kB / 1.231 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7204, allocations: 0 / 1.231 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.492e-06/0.7204, allocations: 0 / 1.231 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.7207, allocations: 458.3 kB / 1.231 GB, free: 6.086 MB / 0.9512 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009625/0.7216, allocations: 1.359 MB / 1.232 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.7218, allocations: 0.669 MB / 1.233 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.7219, allocations: 8 kB / 1.233 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.7219, allocations: 15.42 kB / 1.233 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.7219, allocations: 0 / 1.233 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5589/1.281, allocations: 2.637 MB / 1.236 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/8.474, allocations: 30.09 kB / 1.236 GB, free: 1.418 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches