Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_11_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.008328/0.008328, allocations: 96.34 kB / 15.73 MB, free: 6.059 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.002156/0.002156, allocations: 198.9 kB / 16.68 MB, free: 5.98 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.665/1.665, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 5.055/5.055, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003097/0.003097, allocations: 67.89 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.453, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003026/0.4561, allocations: 1.227 MB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.4575, allocations: 0.7209 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.4575, allocations: 4 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.237e-05/0.4576, allocations: 3.938 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.4579, allocations: 12 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001208/0.458, allocations: 15.91 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.4581, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.564e-05/0.4581, allocations: 0 / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.798e-05/0.4582, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.4584, allocations: 11.98 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.4584, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.551e-05/0.4585, allocations: 11.92 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.956e-05/0.4586, allocations: 4 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.4586, allocations: 7.938 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.4588, allocations: 15.97 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4588, allocations: 3.938 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4588, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4588, allocations: 0 / 1.222 GB, free: 12.27 MB / 0.9825 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.0004933/0.4593, allocations: 323.5 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.4594, allocations: 12.03 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.794e-05/0.4595, allocations: 106 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.4596, allocations: 80.22 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.4599, allocations: 239.7 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.46, allocations: 154.9 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4602, allocations: 154.9 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.4603, allocations: 101.5 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.4604, allocations: 83.16 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.4605, allocations: 154.6 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.4606, allocations: 150.6 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.4608, allocations: 162.5 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.4614, allocations: 442 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.4615, allocations: 181.2 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.4616, allocations: 84.08 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.4617, allocations: 75.28 kB / 1.225 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.755e-05/0.4618, allocations: 105.8 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.963e-06/0.4618, allocations: 0 / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0001242/0.4619, allocations: 37.59 kB / 1.225 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.4621, allocations: 134.7 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.4622, allocations: 97.84 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.4623, allocations: 25.7 kB / 1.225 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.4624, allocations: 84.14 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.4624, allocations: 0 / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.4625, allocations: 13.72 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.4627, allocations: 310.8 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-06/0.4627, allocations: 3.938 kB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.001e-05/0.4628, allocations: 4 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.891e-05/0.4628, allocations: 79.28 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.925e-05/0.4629, allocations: 75.28 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001179/0.463, allocations: 29.69 kB / 1.226 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.284e-05/0.4631, allocations: 87.22 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.114e-05/0.4632, allocations: 79.22 kB / 1.226 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001121/0.4633, allocations: 154.6 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.636e-05/0.4634, allocations: 79.42 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001132/0.4635, allocations: 162.5 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.4637, allocations: 75.28 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.692e-05/0.4638, allocations: 79.22 kB / 1.226 GB, free: 7.883 MB / 0.9825 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 0.0002297/0.4641, allocations: 264.4 kB / 1.226 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.4642, allocations: 112.9 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.856e-05/0.4643, allocations: 108.1 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000124/0.4645, allocations: 184.2 kB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001273/0.4646, allocations: 180.2 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001324/0.4648, allocations: 180.2 kB / 1.227 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.4652, allocations: 405.2 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.618e-05/0.4653, allocations: 109 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-05/0.4654, allocations: 104.9 kB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.4656, allocations: 188.1 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001368/0.4657, allocations: 184.2 kB / 1.228 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000125/0.4659, allocations: 176.3 kB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001272/0.466, allocations: 180.3 kB / 1.228 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.4663, allocations: 307.8 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.4666, allocations: 190 kB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.4667, allocations: 184.2 kB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.4669, allocations: 101 kB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.4671, allocations: 184.2 kB / 1.229 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.047e-05/0.4672, allocations: 105 kB / 1.229 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.404e-05/0.4673, allocations: 87.27 kB / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4673, allocations: 0 / 1.23 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005132/0.4678, allocations: 0 / 1.23 GB, free: 4.203 MB / 0.9825 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.001017/0.4689, allocations: 0.8324 MB / 1.23 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.07e-05/0.4689, allocations: 4 kB / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.469, allocations: 0 / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.469, allocations: 0 / 1.23 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.4696, allocations: 467.6 kB / 1.231 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.4714, allocations: 1.571 MB / 1.232 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.4718, allocations: 0.6768 MB / 1.233 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.852e-05/0.4719, allocations: 0 / 1.233 GB, free: 0.5312 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/0.4719, allocations: 7.438 kB / 1.233 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.4719, allocations: 0 / 1.233 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.5095, allocations: 1.208 MB / 1.234 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.378/9.888, allocations: 8.375 kB / 1.234 GB, free: 15.49 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches