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.001061/0.001062, allocations: 89.73 kB / 15.06 MB, free: 1.098 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.001327/0.001327, allocations: 172.7 kB / 15.95 MB, free: 208 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.48/1.48, allocations: 223.3 MB / 240 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.454/2.454, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7033, allocations: 142.3 MB / 0.9538 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001392/0.7048, allocations: 0.9913 MB / 0.9548 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.7067, allocations: 1.345 MB / 0.9561 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.7068, allocations: 1.094 kB / 0.9561 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.7068, allocations: 0 / 0.9561 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.707, allocations: 18.92 kB / 0.9561 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.7077, allocations: 187.6 kB / 0.9563 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.028e-05/0.7077, allocations: 24.16 kB / 0.9563 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.7078, allocations: 1.156 kB / 0.9564 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.089e-05/0.7079, allocations: 16.33 kB / 0.9564 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.708, allocations: 12.12 kB / 0.9564 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.708, allocations: 1.406 kB / 0.9564 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.7083, allocations: 140.3 kB / 0.9565 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.7083, allocations: 13.28 kB / 0.9565 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.779e-05/0.7083, allocations: 31.39 kB / 0.9566 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.7085, allocations: 99.97 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.7085, allocations: 0 / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7085, allocations: 0 / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7086, allocations: 1.125 kB / 0.9567 GB, free: 5.949 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.0002798/0.7088, allocations: 356.7 kB / 0.957 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7089, allocations: 8.594 kB / 0.957 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.665e-05/0.7089, allocations: 107.1 kB / 0.9571 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.709, allocations: 80.55 kB / 0.9572 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.7091, allocations: 243.8 kB / 0.9574 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.7091, allocations: 155.8 kB / 0.9576 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.7092, allocations: 158.2 kB / 0.9577 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.047e-05/0.7092, allocations: 104.9 kB / 0.9578 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.7092, allocations: 75.28 kB / 0.9579 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.7093, allocations: 156 kB / 0.958 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.7093, allocations: 150.6 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.151e-05/0.7093, allocations: 158.5 kB / 0.9583 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.7095, allocations: 459.5 kB / 0.9588 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.141e-05/0.7096, allocations: 177.1 kB / 0.9589 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.585e-05/0.7096, allocations: 81.52 kB / 0.959 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.7096, allocations: 75.28 kB / 0.9591 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.7096, allocations: 111.2 kB / 0.9592 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.7097, allocations: 0 / 0.9592 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.187e-05/0.7097, allocations: 27.08 kB / 0.9592 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.7098, allocations: 136.2 kB / 0.9593 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.7099, allocations: 112.3 kB / 0.9595 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.7099, allocations: 25.7 kB / 0.9595 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.7099, allocations: 85.45 kB / 0.9596 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.7099, allocations: 1.562 kB / 0.9596 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.7099, allocations: 0 / 0.9596 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.71, allocations: 314.8 kB / 0.9599 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.71, allocations: 2.625 kB / 0.9599 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.71, allocations: 28.31 kB / 0.9599 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.273e-05/0.7101, allocations: 3.781 kB / 0.9599 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7101, allocations: 0 / 0.9599 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001475/0.7102, allocations: 51.75 kB / 0.9599 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.7102, allocations: 5.562 kB / 0.9599 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7102, allocations: 0 / 0.9599 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.7103, allocations: 1.094 kB / 0.9599 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.842e-05/0.7103, allocations: 9.406 kB / 0.96 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.7104, allocations: 0 / 0.96 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.7105, allocations: 13.02 kB / 0.96 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.7105, allocations: 5.953 kB / 0.96 GB, free: 2.395 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.233e-05/0.7106, allocations: 188.2 kB / 0.9602 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.7106, allocations: 110.1 kB / 0.9603 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.7107, allocations: 112.9 kB / 0.9604 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.7107, allocations: 185 kB / 0.9605 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/0.7107, allocations: 177.4 kB / 0.9607 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/0.7108, allocations: 181.2 kB / 0.9609 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.7109, allocations: 408.4 kB / 0.9613 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.7109, allocations: 102.3 kB / 0.9614 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.67e-05/0.7109, allocations: 113.1 kB / 0.9615 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.967e-05/0.711, allocations: 181.6 kB / 0.9617 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.711, allocations: 189.3 kB / 0.9618 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.667e-05/0.711, allocations: 177.3 kB / 0.962 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.679e-05/0.7111, allocations: 185.1 kB / 0.9622 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.7112, allocations: 306.9 kB / 0.9625 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.322e-05/0.7113, allocations: 188.2 kB / 0.9627 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.7114, allocations: 181.3 kB / 0.9628 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.7115, allocations: 109.8 kB / 0.9629 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.7116, allocations: 181.6 kB / 0.9631 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.7116, allocations: 106 kB / 0.9632 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.303e-05/0.7117, allocations: 83.09 kB / 0.9633 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7117, allocations: 0 / 0.9633 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003278/0.712, allocations: 46.77 kB / 0.9633 GB, free: 14.8 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.0009863/0.713, allocations: 0.9906 MB / 0.9643 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.715e-05/0.7131, allocations: 9.438 kB / 0.9643 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.7131, allocations: 0 / 0.9643 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.7131, allocations: 1.812 kB / 0.9643 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.7135, allocations: 0.5218 MB / 0.9648 GB, free: 13.37 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.0007177/0.7143, allocations: 447.8 kB / 0.9652 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.7145, allocations: 0.6758 MB / 0.9659 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.7146, allocations: 6.594 kB / 0.9659 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.7146, allocations: 13.92 kB / 0.9659 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7146, allocations: 0 / 0.9659 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3813/1.096, allocations: 2.349 MB / 0.9682 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/1.096, allocations: 255.5 kB / 0.9685 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.919, allocations: 0 / 0.9685 GB, free: 10.74 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