Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.001178/0.001178, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001116/0.001116, allocations: 189.5 kB / 16.14 MB, free: 6.711 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.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.307/2.307, allocations: 461.9 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 66.11 kB / 0.8985 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2107, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001962/0.2127, allocations: 1.335 MB / 1.054 GB, free: 6.844 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.2135, allocations: 0.7151 MB / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.359e-05/0.2135, allocations: 0 / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.2136, allocations: 4 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.2137, allocations: 3.938 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.2139, allocations: 50.05 kB / 1.054 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.214, allocations: 35.91 kB / 1.054 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.214, allocations: 4 kB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.086e-05/0.214, allocations: 19.92 kB / 1.054 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.2142, allocations: 7.984 kB / 1.054 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.2142, allocations: 0 / 1.054 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.565e-05/0.2142, allocations: 15.92 kB / 1.054 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.2143, allocations: 0 / 1.054 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.2143, allocations: 15.92 kB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.875e-05/0.2144, allocations: 23.92 kB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2144, allocations: 0 / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.31e-07/0.2144, allocations: 0 / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.2144, allocations: 4 kB / 1.054 GB, free: 5.945 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.0002685/0.2147, allocations: 329.7 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.2147, allocations: 8.031 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.2147, allocations: 110 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.2148, allocations: 80.12 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.2149, allocations: 235.7 kB / 1.055 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.215, allocations: 154.9 kB / 1.055 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.215, allocations: 162.9 kB / 1.055 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.793e-05/0.2151, allocations: 109.5 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.2151, allocations: 79.22 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.2151, allocations: 154.6 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/0.2152, allocations: 150.6 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.584e-05/0.2152, allocations: 154.6 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.2154, allocations: 449.9 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.925e-05/0.2155, allocations: 177.1 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.2155, allocations: 80.14 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.2156, allocations: 79.28 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2156, allocations: 105.8 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2156, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.656e-05/0.2157, allocations: 37.64 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.2157, allocations: 130.7 kB / 1.057 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.2158, allocations: 109.8 kB / 1.057 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.2158, allocations: 25.7 kB / 1.057 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.988e-05/0.2159, allocations: 84.14 kB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.2159, allocations: 0 / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.2159, allocations: 21.7 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.216, allocations: 322.8 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.216, allocations: 0 / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.216, allocations: 11.98 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.2161, allocations: 12.86 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2161, allocations: 96 / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.022e-05/0.2162, allocations: 53.59 kB / 1.058 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2162, allocations: 7.938 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2162, allocations: 3.938 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.904e-06/0.2162, allocations: 0 / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.2162, allocations: 0 / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.2162, allocations: 0 / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.72e-05/0.2163, allocations: 4 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2163, allocations: 0 / 1.058 GB, free: 2.328 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 7.845e-05/0.2164, allocations: 189.2 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.2165, allocations: 108.9 kB / 1.058 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.2165, allocations: 108.5 kB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.582e-05/0.2165, allocations: 184.3 kB / 1.058 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.302e-05/0.2166, allocations: 176.3 kB / 1.058 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.643e-05/0.2166, allocations: 184.2 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.2168, allocations: 405.3 kB / 1.059 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/0.2169, allocations: 108.9 kB / 1.059 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.2169, allocations: 105 kB / 1.059 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-05/0.2169, allocations: 184.2 kB / 1.059 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.217, allocations: 184.1 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.474e-05/0.217, allocations: 180.3 kB / 1.06 GB, free: 120 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.334e-05/0.2171, allocations: 180.2 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.686e-05/0.2172, allocations: 303.8 kB / 1.06 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.2173, allocations: 186 kB / 1.06 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.2173, allocations: 188.2 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.793e-05/0.2174, allocations: 112.9 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.2175, allocations: 180.3 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.2175, allocations: 101.2 kB / 1.061 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.718e-05/0.2175, allocations: 87.28 kB / 1.061 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2175, allocations: 3.938 kB / 1.061 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002091/0.2178, allocations: 11.98 kB / 1.061 GB, free: 14.71 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.0004048/0.2182, allocations: 0.8241 MB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.113e-05/0.2182, allocations: 8 kB / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.2182, allocations: 0 / 1.062 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.12e-06/0.2182, allocations: 12 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.2185, allocations: 0.5185 MB / 1.062 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000775/0.2193, allocations: 1.288 MB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.2195, allocations: 0.681 MB / 1.064 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.2195, allocations: 4.094 kB / 1.064 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.565e-05/0.2196, allocations: 7.438 kB / 1.064 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2196, allocations: 0 / 1.064 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.797/2.016, allocations: 1.145 MB / 1.065 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/2.017, allocations: 241.3 kB / 1.066 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/3.467, allocations: 6.594 kB / 1.066 GB, free: 9.98 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches