Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_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.001187/0.001188, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001122/0.001122, allocations: 192.6 kB / 16.25 MB, free: 6.629 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.179/1.179, allocations: 222.9 MB / 239.9 MB, free: 4.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.049/2.049, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4723, allocations: 140.4 MB / 0.9492 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001869/0.4742, allocations: 1.325 MB / 0.9505 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001453/0.4757, allocations: 1.415 MB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.4757, allocations: 4 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/0.4757, allocations: 5.266 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.4759, allocations: 12.22 kB / 0.9519 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.4764, allocations: 195 kB / 0.9521 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.466e-05/0.4765, allocations: 23.58 kB / 0.9521 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.4765, allocations: 5.703 kB / 0.9522 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.633e-05/0.4766, allocations: 17.09 kB / 0.9522 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.505e-05/0.4767, allocations: 19.48 kB / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.4767, allocations: 0 / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.4769, allocations: 142.6 kB / 0.9523 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.4769, allocations: 10.61 kB / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.4769, allocations: 7.703 kB / 0.9523 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.4771, allocations: 146.8 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.4771, allocations: 3.938 kB / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4771, allocations: 0 / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.4772, allocations: 5.188 kB / 0.9525 GB, free: 6.719 MB / 0.7169 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.0002612/0.4774, allocations: 370.7 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.4775, allocations: 10 kB / 0.9529 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.363e-05/0.4775, allocations: 106 kB / 0.953 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.4775, allocations: 79.19 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.062e-05/0.4776, allocations: 252.6 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4776, allocations: 152.1 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.4777, allocations: 156.8 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.895e-05/0.4777, allocations: 102.1 kB / 0.9537 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.4777, allocations: 75.28 kB / 0.9537 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.4777, allocations: 155.5 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4778, allocations: 154.6 kB / 0.954 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.4778, allocations: 155.8 kB / 0.9542 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.4779, allocations: 458 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.55e-05/0.478, allocations: 170.6 kB / 0.9548 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.237e-05/0.478, allocations: 84.14 kB / 0.9549 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.478, allocations: 83.2 kB / 0.9549 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.478, allocations: 114.8 kB / 0.955 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.478, allocations: 0 / 0.955 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.884e-05/0.4781, allocations: 35.97 kB / 0.9551 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.4781, allocations: 127.9 kB / 0.9552 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.31e-05/0.4782, allocations: 108.7 kB / 0.9553 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.4782, allocations: 25.7 kB / 0.9553 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.932e-05/0.4782, allocations: 82.45 kB / 0.9554 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.4782, allocations: 0 / 0.9554 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.4783, allocations: 19.12 kB / 0.9554 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.997e-05/0.4783, allocations: 312.3 kB / 0.9557 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.4783, allocations: 9.484 kB / 0.9557 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.135e-05/0.4784, allocations: 28.98 kB / 0.9558 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.4784, allocations: 32.67 kB / 0.9558 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4784, allocations: 256 / 0.9558 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.442e-05/0.4785, allocations: 51.05 kB / 0.9558 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4785, allocations: 5.781 kB / 0.9558 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4785, allocations: 4 kB / 0.9559 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.4785, allocations: 5.531 kB / 0.9559 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.349e-05/0.4786, allocations: 11.98 kB / 0.9559 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.4786, allocations: 1.375 kB / 0.9559 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.4788, allocations: 3.719 kB / 0.9559 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4788, allocations: 2.75 kB / 0.9559 GB, free: 3.102 MB / 0.7169 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 4.759e-05/0.4788, allocations: 192 kB / 0.9561 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.4789, allocations: 106.2 kB / 0.9562 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.77e-05/0.4789, allocations: 117.4 kB / 0.9563 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.4789, allocations: 177.6 kB / 0.9564 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.4789, allocations: 176.3 kB / 0.9566 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.4789, allocations: 185.8 kB / 0.9568 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.4791, allocations: 404 kB / 0.9572 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.4791, allocations: 114.2 kB / 0.9573 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-05/0.4791, allocations: 101 kB / 0.9574 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/0.4791, allocations: 181.9 kB / 0.9575 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.4791, allocations: 177.4 kB / 0.9577 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-05/0.4791, allocations: 181.7 kB / 0.9579 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.675e-05/0.4792, allocations: 180.2 kB / 0.9581 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.843e-05/0.4792, allocations: 319.6 kB / 0.9584 GB, free: 404 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.4792, allocations: 183.9 kB / 0.9585 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.4793, allocations: 185.6 kB / 0.9587 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.4794, allocations: 112.9 kB / 0.9588 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.4794, allocations: 181.5 kB / 0.959 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.4795, allocations: 106.1 kB / 0.9591 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.474e-05/0.4795, allocations: 84.09 kB / 0.9592 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4795, allocations: 0 / 0.9592 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002807/0.4798, allocations: 49.98 kB / 0.9592 GB, free: 15.5 MB / 0.7325 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.0006492/0.4804, allocations: 0.9682 MB / 0.9602 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.08e-05/0.4805, allocations: 11.06 kB / 0.9602 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4805, allocations: 3.938 kB / 0.9602 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.214e-06/0.4805, allocations: 1.156 kB / 0.9602 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.4808, allocations: 461 kB / 0.9606 GB, free: 14.16 MB / 0.7325 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.0008724/0.4817, allocations: 1.344 MB / 0.9619 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.4819, allocations: 0.6792 MB / 0.9626 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.4819, allocations: 14.31 kB / 0.9626 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.482, allocations: 14.19 kB / 0.9626 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.482, allocations: 0 / 0.9626 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4178/0.8997, allocations: 2.527 MB / 0.9651 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.9, allocations: 276.7 kB / 0.9654 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/2.737, allocations: 1.531 kB / 0.9654 GB, free: 10.41 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches