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.001375/0.001375, allocations: 100.1 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.001591/0.001591, 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 2.572/2.572, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.294/4.294, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006853/0.0006854, allocations: 8 kB / 0.8375 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544/1.545, allocations: 146.8 MB / 0.9809 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002072/1.547, allocations: 0.9918 MB / 0.9818 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00308/1.55, allocations: 1.334 MB / 0.9831 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/1.55, allocations: 0 / 0.9831 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/1.55, allocations: 0 / 0.9831 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002395/1.55, allocations: 19.91 kB / 0.9832 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/1.551, allocations: 170.6 kB / 0.9833 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.72e-05/1.551, allocations: 19.97 kB / 0.9833 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.657e-05/1.551, allocations: 3.938 kB / 0.9833 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/1.551, allocations: 19.97 kB / 0.9834 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001583/1.552, allocations: 11.98 kB / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/1.552, allocations: 0 / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/1.552, allocations: 123.8 kB / 0.9835 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/1.552, allocations: 8 kB / 0.9835 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/1.552, allocations: 29.7 kB / 0.9835 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/1.552, allocations: 99.86 kB / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.552, allocations: 0 / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.107e-06/1.552, allocations: 0 / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.552, allocations: 0 / 0.9836 GB, free: 3.578 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.0006311/1.553, allocations: 365.6 kB / 0.984 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.78e-05/1.553, allocations: 8.031 kB / 0.984 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.355e-05/1.553, allocations: 105.8 kB / 0.9841 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/1.553, allocations: 83.28 kB / 0.9842 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/1.554, allocations: 238.3 kB / 0.9844 GB, free: 2.699 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.29e-05/1.554, allocations: 154.6 kB / 0.9845 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.424e-05/1.554, allocations: 154.5 kB / 0.9847 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.881e-05/1.554, allocations: 108.9 kB / 0.9848 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.52e-05/1.554, allocations: 79.22 kB / 0.9849 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.732e-05/1.554, allocations: 158.6 kB / 0.985 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.621e-05/1.554, allocations: 150.6 kB / 0.9851 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/1.554, allocations: 154.5 kB / 0.9853 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/1.555, allocations: 453.9 kB / 0.9857 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/1.555, allocations: 169.1 kB / 0.9859 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.265e-05/1.555, allocations: 79.28 kB / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.513e-05/1.555, allocations: 109.8 kB / 0.9861 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/1.555, allocations: 0 / 0.9861 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001438/1.555, allocations: 37.5 kB / 0.9861 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/1.555, allocations: 130.7 kB / 0.9862 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/1.556, allocations: 105.9 kB / 0.9863 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/1.556, allocations: 25.7 kB / 0.9864 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/1.556, allocations: 88.08 kB / 0.9864 GB, free: 476 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/1.556, allocations: 0 / 0.9864 GB, free: 476 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-06/1.556, allocations: 4 kB / 0.9864 GB, free: 472 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002056/1.556, allocations: 314.8 kB / 0.9867 GB, free: 148 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/1.556, allocations: 0 / 0.9867 GB, free: 148 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/1.556, allocations: 34.55 kB / 0.9868 GB, free: 104 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/1.556, allocations: 8 kB / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.556, allocations: 0 / 0.9868 GB, free: 96 kB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002294/1.556, allocations: 45.64 kB / 0.9868 GB, free: 44 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.556, allocations: 7.984 kB / 0.9868 GB, free: 36 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.556, allocations: 4 kB / 0.9868 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.556, allocations: 0 / 0.9868 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/1.557, allocations: 11.89 kB / 0.9869 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-05/1.557, allocations: 4.094 kB / 0.9869 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/1.557, allocations: 4 kB / 0.9869 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/1.557, allocations: 7.984 kB / 0.9869 GB, free: 4 kB / 0.7325 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.0002775/1.557, allocations: 189.1 kB / 0.987 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/1.557, allocations: 101 kB / 0.9871 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.617e-05/1.557, allocations: 108 kB / 0.9872 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001148/1.558, allocations: 184.3 kB / 0.9874 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001264/1.558, allocations: 188.4 kB / 0.9876 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001131/1.558, allocations: 176.3 kB / 0.9878 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/1.558, allocations: 409.2 kB / 0.9882 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-05/1.558, allocations: 104.9 kB / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.865e-05/1.558, allocations: 101 kB / 0.9884 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000156/1.559, allocations: 192.2 kB / 0.9885 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/1.559, allocations: 180.3 kB / 0.9887 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001207/1.559, allocations: 176.3 kB / 0.9889 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000104/1.559, allocations: 184.2 kB / 0.9891 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/1.559, allocations: 319.6 kB / 0.9894 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/1.559, allocations: 186.1 kB / 0.9895 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.56, allocations: 176.3 kB / 0.9897 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.56, allocations: 104.9 kB / 0.9898 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/1.56, allocations: 176.3 kB / 0.99 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/1.56, allocations: 108.9 kB / 0.9901 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.152e-05/1.56, allocations: 91.27 kB / 0.9902 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/1.56, allocations: 3.938 kB / 0.9902 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006671/1.561, allocations: 55.94 kB / 0.9902 GB, free: 12.34 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.001273/1.562, allocations: 0.9675 MB / 0.9912 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001222/1.562, allocations: 7.938 kB / 0.9912 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.562, allocations: 0 / 0.9912 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/1.562, allocations: 0 / 0.9912 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/1.563, allocations: 0.5302 MB / 0.9917 GB, free: 10.85 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.001071/1.564, allocations: 0.7096 MB / 0.9924 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/1.564, allocations: 0.6809 MB / 0.993 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.945e-05/1.564, allocations: 3.938 kB / 0.9931 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/1.564, allocations: 11.44 kB / 0.9931 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/1.564, allocations: 0 / 0.9931 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.275/2.839, allocations: 2.333 MB / 0.9953 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004214/2.839, allocations: 252.1 kB / 0.9956 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/5.388, allocations: 3.984 kB / 0.9956 GB, free: 6.859 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