Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,fileNamePrefix="Buildings_10_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.000997/0.000997, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.217/1.217, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.313/2.313, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4683, allocations: 151.6 MB / 1.017 GB, free: 2.586 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001965/0.4703, allocations: 1.231 MB / 1.019 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.4712, allocations: 0.727 MB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.4712, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.4712, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.4714, allocations: 15.92 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.837e-05/0.4715, allocations: 4 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.503e-05/0.4715, allocations: 7.984 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.4716, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.851e-05/0.4716, allocations: 7.938 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.4717, allocations: 7.984 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.4717, allocations: 0 / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.4718, allocations: 11.98 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.4718, allocations: 4 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.4719, allocations: 11.94 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.994e-05/0.4719, allocations: 15.97 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4719, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4719, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.472, allocations: 0 / 1.019 GB, free: 0.5234 MB / 0.7637 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.000278/0.4722, allocations: 331.4 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.4723, allocations: 8.031 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.4723, allocations: 106 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.4724, allocations: 76.22 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.4725, allocations: 243.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.4726, allocations: 158.9 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.4726, allocations: 150.9 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.963e-05/0.4727, allocations: 101.5 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.4727, allocations: 79.22 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.4727, allocations: 158.6 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.4728, allocations: 154.6 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.4728, allocations: 150.6 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.4731, allocations: 441.9 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.321e-05/0.4731, allocations: 181.1 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.4732, allocations: 80.14 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.4732, allocations: 79.22 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.4732, allocations: 105.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.4732, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.215e-05/0.4733, allocations: 37.58 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.4734, allocations: 130.7 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.4734, allocations: 101.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.4735, allocations: 25.7 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.194e-05/0.4735, allocations: 80.14 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.223e-06/0.4735, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.123e-05/0.4735, allocations: 9.719 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.4736, allocations: 314.8 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-06/0.4736, allocations: 0 / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.4736, allocations: 8 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.4737, allocations: 75.28 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.4737, allocations: 75.28 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.369e-05/0.4737, allocations: 37.62 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.4738, allocations: 85.25 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.4738, allocations: 75.28 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.273e-05/0.4738, allocations: 150.6 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.248e-05/0.4739, allocations: 87.25 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-05/0.4739, allocations: 154.6 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.474, allocations: 83.22 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.4741, allocations: 83.33 kB / 1.023 GB, free: 12.14 MB / 0.7794 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.591e-05/0.4741, allocations: 260.4 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.4742, allocations: 108.8 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.4742, allocations: 116.2 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/0.4743, allocations: 184.2 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.125e-05/0.4744, allocations: 188.1 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.809e-05/0.4744, allocations: 176.3 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.4746, allocations: 397.5 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/0.4747, allocations: 116.9 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.4747, allocations: 105 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.574e-05/0.4747, allocations: 188.1 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.503e-05/0.4748, allocations: 176.3 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.534e-05/0.4748, allocations: 180.2 kB / 1.026 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.581e-05/0.4749, allocations: 180.2 kB / 1.026 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.475, allocations: 311.7 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.4751, allocations: 182.1 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.4751, allocations: 192.1 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.4752, allocations: 105 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.4753, allocations: 184.3 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.4753, allocations: 104.9 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.787e-05/0.4753, allocations: 83.27 kB / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4754, allocations: 0 / 1.027 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000241/0.4756, allocations: 4 kB / 1.027 GB, free: 8.453 MB / 0.7794 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.0004072/0.476, allocations: 0.823 MB / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.216e-05/0.4761, allocations: 3.938 kB / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.4761, allocations: 0 / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.4761, allocations: 0 / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.4764, allocations: 467.7 kB / 1.028 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008967/0.4773, allocations: 1.556 MB / 1.03 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.4774, allocations: 0.6729 MB / 1.03 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.281e-05/0.4775, allocations: 7.906 kB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.4775, allocations: 7.438 kB / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4775, allocations: 0 / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.4944, allocations: 1.184 MB / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.536/7.031, allocations: 11.08 kB / 1.031 GB, free: 3.77 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches