Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",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.0008488/0.0008488, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004857/0.004857, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.34/2.34, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 14.75 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2331, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001052/0.2342, allocations: 0.9705 MB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008344/0.235, allocations: 0.6956 MB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.192e-05/0.2351, allocations: 0 / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.2351, allocations: 0 / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.2352, allocations: 15.97 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.554e-05/0.2353, allocations: 15.94 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.2354, allocations: 15.98 kB / 1.06 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.2354, allocations: 4 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.2354, allocations: 3.984 kB / 1.06 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.2355, allocations: 4 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.2356, allocations: 0 / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.223e-05/0.2356, allocations: 15.97 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.2356, allocations: 0 / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.2357, allocations: 37.64 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.428e-05/0.2357, allocations: 11.92 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2357, allocations: 3.938 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2358, allocations: 4 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.2358, allocations: 0 / 1.061 GB, free: 3.051 MB / 0.8106 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.0002443/0.236, allocations: 321.3 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.236, allocations: 12.09 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.2361, allocations: 106 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.338e-05/0.2361, allocations: 76.22 kB / 1.061 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.2363, allocations: 247.7 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.2363, allocations: 154.9 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.2364, allocations: 150.9 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.345e-05/0.2364, allocations: 101.5 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.2364, allocations: 87.09 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.2365, allocations: 150.6 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.2365, allocations: 154.6 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.148e-05/0.2366, allocations: 154.6 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.2368, allocations: 445.9 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.94e-05/0.2369, allocations: 173.1 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.2369, allocations: 84.08 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.2369, allocations: 79.28 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.237, allocations: 105.8 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.793e-06/0.237, allocations: 3.984 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.127e-05/0.237, allocations: 29.64 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.2371, allocations: 130.7 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.2372, allocations: 101.8 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.2372, allocations: 25.7 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.2372, allocations: 84.38 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-06/0.2372, allocations: 3.984 kB / 1.063 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.2372, allocations: 9.719 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.2373, allocations: 314.8 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-06/0.2373, allocations: 3.938 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.999e-06/0.2374, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.182e-05/0.2374, allocations: 79.27 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.2374, allocations: 75.28 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.018e-05/0.2375, allocations: 41.64 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.2375, allocations: 83.22 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.2375, allocations: 83.22 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.683e-05/0.2376, allocations: 154.6 kB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.848e-05/0.2376, allocations: 75.28 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.005e-05/0.2376, allocations: 154.5 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.2378, allocations: 87.41 kB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.2378, allocations: 83.23 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.656e-05/0.2379, allocations: 260.4 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.2379, allocations: 112.9 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.238, allocations: 104.1 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.833e-05/0.238, allocations: 184.2 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.662e-05/0.2381, allocations: 184.3 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.663e-05/0.2381, allocations: 180.2 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.2383, allocations: 405.2 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/0.2383, allocations: 105 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.2384, allocations: 104.9 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.413e-05/0.2384, allocations: 184.2 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.2385, allocations: 184.2 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.651e-05/0.2385, allocations: 180.3 kB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.667e-05/0.2386, allocations: 184.2 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.729e-05/0.2387, allocations: 307.8 kB / 1.067 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.2387, allocations: 186 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.2388, allocations: 188.2 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.2389, allocations: 101 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.2389, allocations: 180.2 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.239, allocations: 101 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.074e-05/0.239, allocations: 91.27 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.239, allocations: 0 / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002316/0.2392, allocations: 4 kB / 1.068 GB, free: 10.98 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004019/0.2397, allocations: 0.8261 MB / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 2.753e-05/0.2397, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2397, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.846e-06/0.2397, allocations: 4 kB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.24, allocations: 0.5185 MB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000894/0.2409, allocations: 1.559 MB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.2411, allocations: 0.677 MB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.173e-05/0.2411, allocations: 0 / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.2412, allocations: 15.38 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2412, allocations: 3.938 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.245/2.486, allocations: 1.012 MB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/2.486, allocations: 252.8 kB / 1.073 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.457/3.944, allocations: 0 / 1.073 GB, free: 6.199 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches