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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001248/0.001247, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001472/0.001472, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.458/2.458, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.737/0.7373, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001293/0.7387, allocations: 0.9864 MB / 0.9546 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001724/0.7404, allocations: 1.32 MB / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.7405, allocations: 1.375 kB / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.7405, allocations: 0 / 0.9558 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001533/0.7407, allocations: 22.62 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.7412, allocations: 177.6 kB / 0.956 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.7412, allocations: 23.38 kB / 0.9561 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.7413, allocations: 1.375 kB / 0.9561 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.213e-05/0.7414, allocations: 15 kB / 0.9561 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.7415, allocations: 13.72 kB / 0.9561 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.7415, allocations: 1.375 kB / 0.9561 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.7417, allocations: 123.2 kB / 0.9562 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.7417, allocations: 5.234 kB / 0.9562 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.7418, allocations: 28.7 kB / 0.9562 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.7419, allocations: 100.5 kB / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.742, allocations: 0 / 0.9563 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.742, allocations: 4 kB / 0.9563 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.742, allocations: 0 / 0.9563 GB, free: 5.988 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.0003178/0.7423, allocations: 364.3 kB / 0.9567 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.7424, allocations: 10.09 kB / 0.9567 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.7424, allocations: 105.8 kB / 0.9568 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.7424, allocations: 80.3 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.7426, allocations: 240.2 kB / 0.9571 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.7426, allocations: 160.7 kB / 0.9573 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.7427, allocations: 157.4 kB / 0.9574 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.26e-05/0.7427, allocations: 101 kB / 0.9575 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.7427, allocations: 80.23 kB / 0.9576 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.7428, allocations: 150.6 kB / 0.9577 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.7428, allocations: 150.6 kB / 0.9579 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.7428, allocations: 163.5 kB / 0.958 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.743, allocations: 454 kB / 0.9585 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.618e-05/0.7431, allocations: 170.1 kB / 0.9586 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.7431, allocations: 80.19 kB / 0.9587 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.7431, allocations: 110.8 kB / 0.9588 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.7431, allocations: 0 / 0.9588 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.524e-05/0.7432, allocations: 32.23 kB / 0.9588 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.7432, allocations: 126.7 kB / 0.959 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.165e-05/0.7433, allocations: 104.7 kB / 0.9591 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.7433, allocations: 27.08 kB / 0.9591 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.7434, allocations: 89.42 kB / 0.9592 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.7434, allocations: 7.984 kB / 0.9592 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.7434, allocations: 0 / 0.9592 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.7434, allocations: 320.3 kB / 0.9595 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.7434, allocations: 1.062 kB / 0.9595 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.614e-05/0.7435, allocations: 24.98 kB / 0.9595 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.195e-05/0.7435, allocations: 8.422 kB / 0.9595 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7435, allocations: 4 kB / 0.9595 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001142/0.7436, allocations: 46.02 kB / 0.9596 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7437, allocations: 10.75 kB / 0.9596 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.7437, allocations: 1.25 kB / 0.9596 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.7437, allocations: 1.156 kB / 0.9596 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.7438, allocations: 12.55 kB / 0.9596 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.7438, allocations: 1.188 kB / 0.9596 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.7439, allocations: 3.594 kB / 0.9596 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.7439, allocations: 7.297 kB / 0.9596 GB, free: 2.512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.744, allocations: 195.5 kB / 0.9598 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.744, allocations: 102.1 kB / 0.9599 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.7441, allocations: 113 kB / 0.96 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.7441, allocations: 177.4 kB / 0.9602 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.661e-05/0.7441, allocations: 185.3 kB / 0.9603 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/0.7442, allocations: 185.3 kB / 0.9605 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.7443, allocations: 399.5 kB / 0.9609 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/0.7443, allocations: 109.9 kB / 0.961 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.7444, allocations: 102.1 kB / 0.9611 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.71e-05/0.7444, allocations: 189.4 kB / 0.9613 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.7444, allocations: 181.6 kB / 0.9614 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.207e-05/0.7444, allocations: 177.4 kB / 0.9616 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.558e-05/0.7445, allocations: 185.5 kB / 0.9618 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.7446, allocations: 307.1 kB / 0.9621 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.7447, allocations: 183.2 kB / 0.9623 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.423e-05/0.7447, allocations: 185.6 kB / 0.9624 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.596e-05/0.7449, allocations: 109.9 kB / 0.9625 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.7449, allocations: 181.6 kB / 0.9627 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.745, allocations: 106 kB / 0.9628 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.668e-05/0.745, allocations: 87.58 kB / 0.9629 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.745, allocations: 0 / 0.9629 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003152/0.7453, allocations: 46.72 kB / 0.9629 GB, free: 14.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008277/0.7462, allocations: 0.9782 MB / 0.9639 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.702e-05/0.7463, allocations: 14.09 kB / 0.9639 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7463, allocations: 4.188 kB / 0.9639 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.7463, allocations: 0 / 0.9639 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.7466, allocations: 0.5167 MB / 0.9644 GB, free: 13.5 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.0006633/0.7472, allocations: 0.713 MB / 0.9651 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.7475, allocations: 0.6772 MB / 0.9658 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.7475, allocations: 2.219 kB / 0.9658 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.7475, allocations: 13.56 kB / 0.9658 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of SimCode: time 3e-07/0.7475, allocations: 0 / 0.9658 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3998/1.147, allocations: 2.329 MB / 0.9681 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/1.148, allocations: 253.6 kB / 0.9683 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.889, allocations: 4.938 kB / 0.9683 GB, free: 10.59 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat does not exist to compare? outputFormat=mat