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.001164/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001108/0.001108, allocations: 195.1 kB / 16.14 MB, free: 6.648 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.153/1.153, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.311/2.311, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 65.56 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2214, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002018/0.2235, allocations: 1.306 MB / 1.053 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008659/0.2244, allocations: 0.6995 MB / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.316e-05/0.2244, allocations: 0 / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.2244, allocations: 0 / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.2246, allocations: 15.92 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.768e-05/0.2247, allocations: 11.98 kB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.209e-05/0.2247, allocations: 8 kB / 1.054 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.068e-05/0.2247, allocations: 3.984 kB / 1.054 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.603e-05/0.2248, allocations: 7.984 kB / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.2249, allocations: 11.94 kB / 1.054 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.2249, allocations: 4 kB / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.567e-05/0.225, allocations: 19.91 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.225, allocations: 0 / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.225, allocations: 4 kB / 1.054 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.378e-05/0.2251, allocations: 11.98 kB / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2251, allocations: 0 / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.02e-07/0.2251, allocations: 3.938 kB / 1.054 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.866e-06/0.2251, allocations: 0 / 1.054 GB, free: 6.086 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.0002868/0.2254, allocations: 325.2 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.2254, allocations: 11.97 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.8e-05/0.2255, allocations: 110 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.2256, allocations: 80.22 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2257, allocations: 239.7 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.2257, allocations: 150.9 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.2258, allocations: 154.9 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.656e-05/0.2259, allocations: 113.5 kB / 1.055 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.2259, allocations: 79.22 kB / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.2259, allocations: 150.6 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.226, allocations: 150.6 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.915e-05/0.226, allocations: 150.6 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.2263, allocations: 450 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.981e-05/0.2263, allocations: 169.1 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.2264, allocations: 88.12 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.936e-05/0.2264, allocations: 75.28 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.2265, allocations: 105.8 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2265, allocations: 4 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.446e-05/0.2265, allocations: 41.48 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.2266, allocations: 126.7 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.786e-05/0.2267, allocations: 101.8 kB / 1.057 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.2267, allocations: 25.7 kB / 1.057 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.2267, allocations: 88.12 kB / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.2267, allocations: 0 / 1.057 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.2268, allocations: 9.719 kB / 1.057 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.723e-05/0.2269, allocations: 314.8 kB / 1.057 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.727e-06/0.2269, allocations: 4 kB / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.2269, allocations: 0 / 1.057 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.165e-05/0.2269, allocations: 75.28 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.606e-05/0.2269, allocations: 75.28 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.217e-05/0.227, allocations: 33.7 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/0.227, allocations: 87.2 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/0.2271, allocations: 83.27 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.531e-05/0.2271, allocations: 158.6 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.759e-05/0.2271, allocations: 83.22 kB / 1.058 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-05/0.2272, allocations: 150.6 kB / 1.058 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.2273, allocations: 75.42 kB / 1.058 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.2273, allocations: 91.17 kB / 1.058 GB, free: 1.695 MB / 0.8106 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 9.524e-05/0.2274, allocations: 268.4 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.086e-05/0.2275, allocations: 109.1 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.2275, allocations: 116 kB / 1.059 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-05/0.2276, allocations: 176.3 kB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-05/0.2276, allocations: 180.2 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.439e-05/0.2277, allocations: 188.2 kB / 1.059 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.2279, allocations: 397.2 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/0.2279, allocations: 108.9 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.228, allocations: 105 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.364e-05/0.228, allocations: 184.1 kB / 1.06 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.2281, allocations: 180.3 kB / 1.06 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.656e-05/0.2282, allocations: 184.3 kB / 1.06 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.265e-05/0.2282, allocations: 184.2 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.2283, allocations: 307.8 kB / 1.061 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.2284, allocations: 178.1 kB / 1.061 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.2285, allocations: 184.2 kB / 1.061 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.2285, allocations: 112.9 kB / 1.061 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.2286, allocations: 176.3 kB / 1.061 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.2286, allocations: 108.9 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.2287, allocations: 83.27 kB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2287, allocations: 0 / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002362/0.2289, allocations: 4 kB / 1.062 GB, free: 14.02 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.0004343/0.2294, allocations: 0.8195 MB / 1.062 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 3.178e-05/0.2294, allocations: 0 / 1.062 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2294, allocations: 3.938 kB / 1.062 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.2294, allocations: 4 kB / 1.062 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.2297, allocations: 0.5224 MB / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.2307, allocations: 1.557 MB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.2309, allocations: 0.677 MB / 1.065 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.101e-05/0.2309, allocations: 96 / 1.065 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.857e-05/0.2309, allocations: 11.44 kB / 1.065 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2309, allocations: 4 kB / 1.065 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01072/0.2417, allocations: 1.076 MB / 1.066 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.2419, allocations: 261.4 kB / 1.066 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/1.669, allocations: 4.656 kB / 1.066 GB, free: 9.129 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