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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.516/2.516, allocations: 393.5 MB / 408.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 184 kB / 0.4901 GB, free: 2.203 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.1 MB / 0.7992 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009831, allocations: 92.38 kB / 0.9396 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004588/0.0004588, allocations: 11.09 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3044, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.5026, allocations: 152.5 MB / 1.378 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/0.5031, allocations: 91.95 kB / 1.378 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01798/0.5211, allocations: 5.976 MB / 1.384 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5211, allocations: 3.938 kB / 1.384 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.5211, allocations: 0 / 1.384 GB, free: 6.605 MB / 0.8855 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.0005059/0.5216, allocations: 376.1 kB / 1.384 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.5217, allocations: 8.031 kB / 1.384 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.5218, allocations: 105.8 kB / 1.385 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.5218, allocations: 87.19 kB / 1.385 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.522, allocations: 242.3 kB / 1.385 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.5221, allocations: 158.6 kB / 1.385 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.357e-05/0.5222, allocations: 150.6 kB / 1.385 GB, free: 5.402 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.295e-05/0.5222, allocations: 101 kB / 1.385 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.5223, allocations: 79.22 kB / 1.385 GB, free: 5.219 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.5223, allocations: 158.6 kB / 1.385 GB, free: 5.062 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.5224, allocations: 150.6 kB / 1.386 GB, free: 4.914 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.014e-05/0.5224, allocations: 150.6 kB / 1.386 GB, free: 4.766 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.5228, allocations: 457.9 kB / 1.386 GB, free: 4.27 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.527e-05/0.5228, allocations: 173.2 kB / 1.386 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.5229, allocations: 79.22 kB / 1.386 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.5229, allocations: 109.8 kB / 1.387 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.552e-06/0.5229, allocations: 0 / 1.387 GB, free: 3.895 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 8.837e-05/0.523, allocations: 29.69 kB / 1.387 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.5231, allocations: 126.7 kB / 1.387 GB, free: 3.723 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.5232, allocations: 105 kB / 1.387 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.5233, allocations: 25.7 kB / 1.387 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.5233, allocations: 92.06 kB / 1.387 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.5233, allocations: 0 / 1.387 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/0.5233, allocations: 0 / 1.387 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5235, allocations: 318.8 kB / 1.387 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.5235, allocations: 0 / 1.387 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.368e-05/0.5235, allocations: 34.5 kB / 1.387 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.635e-05/0.5236, allocations: 8 kB / 1.387 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5236, allocations: 0 / 1.387 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000151/0.5237, allocations: 49.77 kB / 1.387 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.5238, allocations: 4 kB / 1.387 GB, free: 3.059 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.5238, allocations: 0 / 1.387 GB, free: 3.059 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5238, allocations: 7.984 kB / 1.387 GB, free: 3.051 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.5239, allocations: 4 kB / 1.387 GB, free: 3.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5239, allocations: 4.094 kB / 1.387 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.524, allocations: 11.84 kB / 1.387 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.524, allocations: 4 kB / 1.387 GB, free: 3.027 MB / 0.8855 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 0.0001098/0.5241, allocations: 193.9 kB / 1.388 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.5242, allocations: 108.9 kB / 1.388 GB, free: 2.715 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.5243, allocations: 107.9 kB / 1.388 GB, free: 2.605 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.382e-05/0.5243, allocations: 188.1 kB / 1.388 GB, free: 2.414 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.975e-05/0.5244, allocations: 180.3 kB / 1.388 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-05/0.5245, allocations: 184.2 kB / 1.388 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.5247, allocations: 401.1 kB / 1.389 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-05/0.5247, allocations: 109 kB / 1.389 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.5248, allocations: 108.9 kB / 1.389 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.867e-05/0.5248, allocations: 180.3 kB / 1.389 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.5249, allocations: 176.3 kB / 1.389 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.377e-05/0.525, allocations: 184.2 kB / 1.389 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.053e-05/0.5251, allocations: 176.3 kB / 1.39 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001511/0.5252, allocations: 315.8 kB / 1.39 GB, free: 312 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.5253, allocations: 182 kB / 1.39 GB, free: 104 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.65e-05/0.5254, allocations: 184.2 kB / 1.39 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.5255, allocations: 105 kB / 1.39 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.5256, allocations: 184.5 kB / 1.39 GB, free: 15.62 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.5257, allocations: 101 kB / 1.391 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.706e-05/0.5257, allocations: 87.52 kB / 1.391 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5257, allocations: 3.938 kB / 1.391 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004383/0.5262, allocations: 59.98 kB / 1.391 GB, free: 15.36 MB / 0.9011 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.001027/0.5272, allocations: 0.9922 MB / 1.392 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 9.611e-05/0.5273, allocations: 8 kB / 1.392 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5273, allocations: 0 / 1.392 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 6.232e-06/0.5273, allocations: 0 / 1.392 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.5276, allocations: 0.5235 MB / 1.392 GB, free: 13.85 MB / 0.9011 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.0007741/0.5284, allocations: 0.7222 MB / 1.393 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.5287, allocations: 0.6809 MB / 1.394 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 3.617e-05/0.5287, allocations: 7.906 kB / 1.394 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.5287, allocations: 11.44 kB / 1.394 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of SimCode: time 4.01e-07/0.5287, allocations: 0 / 1.394 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4877/1.016, allocations: 2.269 MB / 1.396 GB, free: 10.27 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/1.017, allocations: 260.8 kB / 1.396 GB, free: 9.93 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/2.602, allocations: 0 / 1.396 GB, free: 9.93 MB / 0.9011 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat does not exist to compare? outputFormat=mat