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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004187/0.004187, allocations: 99.95 kB / 15.73 MB, free: 6.016 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.001041/0.001041, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.529/2.529, allocations: 469.4 MB / 0.7422 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 1.064 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7517, allocations: 159.1 MB / 1.22 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002105/0.7538, allocations: 1.237 MB / 1.221 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.7548, allocations: 0.7193 MB / 1.222 GB, free: 260 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.237e-05/0.7548, allocations: 3.938 kB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.7549, allocations: 3.938 kB / 1.222 GB, free: 252 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.7551, allocations: 15.98 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.577e-05/0.7552, allocations: 3.938 kB / 1.222 GB, free: 232 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.415e-05/0.7552, allocations: 15.97 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.524e-05/0.7553, allocations: 7.984 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.7553, allocations: 0 / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.7554, allocations: 4 kB / 1.222 GB, free: 204 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.7554, allocations: 4 kB / 1.222 GB, free: 200 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.962e-05/0.7555, allocations: 11.92 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.7555, allocations: 7.984 kB / 1.222 GB, free: 180 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.043e-05/0.7555, allocations: 3.938 kB / 1.222 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.226e-05/0.7556, allocations: 12 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7556, allocations: 0 / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.213e-06/0.7556, allocations: 0 / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.7556, allocations: 0 / 1.222 GB, free: 164 kB / 0.9356 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.0002852/0.7559, allocations: 323.3 kB / 1.222 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.756, allocations: 8.031 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.756, allocations: 110 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.7561, allocations: 76.22 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.7562, allocations: 247.7 kB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.7563, allocations: 150.9 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.7563, allocations: 150.9 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.929e-05/0.7564, allocations: 105.5 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.7564, allocations: 87.22 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.7564, allocations: 150.6 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.7565, allocations: 150.6 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.064e-05/0.7565, allocations: 150.6 kB / 1.223 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.7568, allocations: 457.9 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.634e-05/0.7569, allocations: 169.1 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.7569, allocations: 80.14 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.7569, allocations: 79.28 kB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.757, allocations: 109.8 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.757, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.849e-05/0.757, allocations: 45.58 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.7571, allocations: 130.6 kB / 1.224 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.751e-05/0.7572, allocations: 97.86 kB / 1.224 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.7572, allocations: 25.7 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.7572, allocations: 84.14 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.7572, allocations: 3.938 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.7573, allocations: 13.7 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.7574, allocations: 314.8 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.406e-06/0.7574, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.7574, allocations: 4 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.7574, allocations: 75.28 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.7574, allocations: 75.28 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.421e-05/0.7575, allocations: 33.7 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.7575, allocations: 83.22 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.7576, allocations: 83.22 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.439e-05/0.7576, allocations: 158.6 kB / 1.225 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.512e-05/0.7576, allocations: 80.23 kB / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.699e-05/0.7577, allocations: 158.5 kB / 1.226 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.7578, allocations: 75.28 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.7578, allocations: 83.22 kB / 1.226 GB, free: 11.77 MB / 0.9512 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.231e-05/0.7579, allocations: 264.9 kB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.758, allocations: 108.9 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.758, allocations: 108.1 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-05/0.7581, allocations: 180.2 kB / 1.226 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.753e-05/0.7581, allocations: 176.3 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.846e-05/0.7582, allocations: 188.4 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.7584, allocations: 401.2 kB / 1.227 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.403e-05/0.7584, allocations: 105 kB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.7585, allocations: 108.9 kB / 1.227 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-05/0.7585, allocations: 184.2 kB / 1.228 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.7586, allocations: 184.2 kB / 1.228 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.845e-05/0.7586, allocations: 180.3 kB / 1.228 GB, free: 9.492 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-05/0.7587, allocations: 184.2 kB / 1.228 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.7588, allocations: 303.8 kB / 1.228 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.7589, allocations: 190.2 kB / 1.229 GB, free: 8.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.712e-05/0.7589, allocations: 180.2 kB / 1.229 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.759, allocations: 116.9 kB / 1.229 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.7591, allocations: 180.3 kB / 1.229 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.7591, allocations: 101 kB / 1.229 GB, free: 8.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.7592, allocations: 83.28 kB / 1.229 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7592, allocations: 0 / 1.229 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002622/0.7594, allocations: 6.812 kB / 1.229 GB, free: 8.094 MB / 0.9512 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.0004498/0.7599, allocations: 0.8301 MB / 1.23 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 3.547e-05/0.7599, allocations: 0 / 1.23 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.7599, allocations: 0 / 1.23 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.7599, allocations: 0 / 1.23 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.7604, allocations: 463.6 kB / 1.23 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.7616, allocations: 1.561 MB / 1.232 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.7619, allocations: 0.6768 MB / 1.233 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.021e-05/0.7619, allocations: 3.906 kB / 1.233 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.7619, allocations: 18.25 kB / 1.233 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.7619, allocations: 4.031 kB / 1.233 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02349/0.7854, allocations: 1.193 MB / 1.234 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/8.036, allocations: 14.88 kB / 1.234 GB, free: 3.391 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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