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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.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.001089/0.00109, allocations: 91.61 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.001228/0.001228, 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.424/1.424, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.501/2.501, allocations: 409.4 MB / 0.684 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 8 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6877/0.6881, allocations: 146.8 MB / 0.9811 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001141/0.6893, allocations: 0.9918 MB / 0.9821 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.6911, allocations: 1.349 MB / 0.9834 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.6911, allocations: 3.938 kB / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.155e-05/0.6911, allocations: 0 / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.6913, allocations: 7.938 kB / 0.9834 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.6918, allocations: 190.6 kB / 0.9836 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.912e-05/0.6919, allocations: 19.94 kB / 0.9836 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.6919, allocations: 0 / 0.9836 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.692, allocations: 19.91 kB / 0.9837 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.947e-05/0.6921, allocations: 11.94 kB / 0.9837 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.6921, allocations: 11.98 kB / 0.9837 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002196/0.6923, allocations: 131.9 kB / 0.9838 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.6924, allocations: 11.88 kB / 0.9838 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.6924, allocations: 29.7 kB / 0.9838 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.6925, allocations: 95.86 kB / 0.9839 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.6926, allocations: 4 kB / 0.9839 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6926, allocations: 0 / 0.9839 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.6926, allocations: 0 / 0.9839 GB, free: 3.371 MB / 0.7325 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.0003447/0.6929, allocations: 361.5 kB / 0.9843 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.693, allocations: 8.031 kB / 0.9843 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/0.693, allocations: 113.8 kB / 0.9844 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.6931, allocations: 79.28 kB / 0.9845 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.6932, allocations: 234.4 kB / 0.9847 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.6933, allocations: 150.6 kB / 0.9848 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.262e-05/0.6933, allocations: 154.6 kB / 0.985 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.681e-05/0.6934, allocations: 116.9 kB / 0.9851 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.6935, allocations: 79.28 kB / 0.9852 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.6935, allocations: 150.6 kB / 0.9853 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.6935, allocations: 150.6 kB / 0.9855 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.6936, allocations: 158.6 kB / 0.9856 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002628/0.6939, allocations: 457.9 kB / 0.9861 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.417e-05/0.6939, allocations: 169.1 kB / 0.9862 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.694, allocations: 84.14 kB / 0.9863 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.694, allocations: 75.28 kB / 0.9864 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.694, allocations: 105.8 kB / 0.9865 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.694, allocations: 8 kB / 0.9865 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.002e-05/0.6941, allocations: 33.56 kB / 0.9865 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.6942, allocations: 130.6 kB / 0.9866 GB, free: 420 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.066e-05/0.6943, allocations: 105.8 kB / 0.9867 GB, free: 304 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.6943, allocations: 25.7 kB / 0.9868 GB, free: 272 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.6943, allocations: 84.14 kB / 0.9868 GB, free: 184 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.6943, allocations: 4 kB / 0.9868 GB, free: 180 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.6943, allocations: 0 / 0.9868 GB, free: 180 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6945, allocations: 318.8 kB / 0.9871 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.6945, allocations: 3.938 kB / 0.9871 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.6945, allocations: 34.5 kB / 0.9872 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.6945, allocations: 4 kB / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6945, allocations: 0 / 0.9872 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001076/0.6947, allocations: 45.7 kB / 0.9872 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.6947, allocations: 8.031 kB / 0.9872 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.6947, allocations: 7.984 kB / 0.9872 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.6947, allocations: 3.953 kB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.6948, allocations: 4 kB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.6948, allocations: 3.938 kB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.6949, allocations: 4 kB / 0.9873 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.6949, allocations: 7.984 kB / 0.9873 GB, free: 15.71 MB / 0.7481 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 8.11e-05/0.695, allocations: 193.1 kB / 0.9874 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.6951, allocations: 105 kB / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.6951, allocations: 108 kB / 0.9877 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-05/0.6952, allocations: 180.3 kB / 0.9878 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.529e-05/0.6952, allocations: 184.2 kB / 0.988 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.287e-05/0.6953, allocations: 180.2 kB / 0.9882 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.6955, allocations: 409.2 kB / 0.9886 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/0.6955, allocations: 104.9 kB / 0.9887 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.6956, allocations: 101 kB / 0.9888 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.828e-05/0.6956, allocations: 184.4 kB / 0.9889 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.6957, allocations: 180.2 kB / 0.9891 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.256e-05/0.6958, allocations: 176.3 kB / 0.9893 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.033e-05/0.6958, allocations: 188.2 kB / 0.9895 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.6959, allocations: 311.7 kB / 0.9898 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.826e-05/0.696, allocations: 190 kB / 0.9899 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.6961, allocations: 176.3 kB / 0.9901 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.6962, allocations: 112.9 kB / 0.9902 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.6963, allocations: 176.8 kB / 0.9904 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.6963, allocations: 105 kB / 0.9905 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.6963, allocations: 95.22 kB / 0.9906 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6963, allocations: 3.938 kB / 0.9906 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003067/0.6967, allocations: 55.92 kB / 0.9906 GB, free: 12.05 MB / 0.7481 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.0007714/0.6974, allocations: 0.9685 MB / 0.9916 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.705e-05/0.6975, allocations: 7.938 kB / 0.9916 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.6975, allocations: 4 kB / 0.9916 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.6975, allocations: 0 / 0.9916 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.6979, allocations: 0.5265 MB / 0.9921 GB, free: 10.55 MB / 0.7481 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.0006849/0.6986, allocations: 453.3 kB / 0.9925 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.6988, allocations: 0.6732 MB / 0.9932 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.6989, allocations: 4 kB / 0.9932 GB, free: 9.348 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.6989, allocations: 7.438 kB / 0.9932 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.6989, allocations: 0 / 0.9932 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.047/2.746, allocations: 2.359 MB / 0.9955 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/2.747, allocations: 262 kB / 0.9958 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/4.864, allocations: 4 kB / 0.9958 GB, free: 6.82 MB / 0.7481 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) Environment - environmentSimulation: 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