Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_10_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.001265/0.001265, 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.0013/0.0013, allocations: 194.7 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.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.338/2.338, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4738/0.475, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002036/0.4771, allocations: 1.272 MB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008465/0.4779, allocations: 0.7426 MB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.168e-05/0.478, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.475e-05/0.478, allocations: 0 / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.4782, allocations: 7.938 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.4783, allocations: 54.73 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.603e-05/0.4784, allocations: 19.97 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.4784, allocations: 8 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.045e-05/0.4785, allocations: 11.94 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.4786, allocations: 19.91 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.4786, allocations: 0 / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.985e-05/0.4787, allocations: 8 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.4787, allocations: 3.984 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.4788, allocations: 11.92 kB / 1.02 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.211e-05/0.4788, allocations: 19.98 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.4788, allocations: 0 / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4788, allocations: 0 / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.4789, allocations: 4 kB / 1.02 GB, free: 300 kB / 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.0002969/0.4792, allocations: 329.7 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.4792, allocations: 8.031 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.61e-05/0.4792, allocations: 110 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.4793, allocations: 80.16 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.4794, allocations: 251.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.4795, allocations: 154.9 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.4795, allocations: 158.9 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.145e-05/0.4796, allocations: 101.5 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.4796, allocations: 79.22 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.4797, allocations: 150.6 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.4797, allocations: 150.6 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.4797, allocations: 154.6 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002393/0.48, allocations: 453.9 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.204e-05/0.4801, allocations: 173.1 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.4801, allocations: 80.14 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.4801, allocations: 79.28 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.4802, allocations: 105.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.4802, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.661e-05/0.4802, allocations: 41.52 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.4803, allocations: 126.7 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.4804, allocations: 105.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.4804, allocations: 25.7 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.4804, allocations: 88.14 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.4804, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.4805, allocations: 17.7 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.4806, allocations: 314.8 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.4806, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.4806, allocations: 16.23 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.88e-05/0.4807, allocations: 12.86 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4807, allocations: 4 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.14e-05/0.4808, allocations: 49.72 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4808, allocations: 9.969 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4808, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.4808, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-07/0.4808, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.4808, allocations: 0 / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.4809, allocations: 7.906 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.4809, allocations: 3.984 kB / 1.023 GB, free: 12.68 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 (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 9.268e-05/0.481, allocations: 194.7 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.4811, allocations: 108.9 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.4811, allocations: 108.5 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.769e-05/0.4812, allocations: 184.2 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.047e-05/0.4812, allocations: 184.2 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.428e-05/0.4813, allocations: 176.3 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.4815, allocations: 409.2 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-05/0.4815, allocations: 104.9 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.154e-05/0.4816, allocations: 101 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.048e-05/0.4816, allocations: 192.1 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.4817, allocations: 176.3 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.269e-05/0.4818, allocations: 184.2 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.147e-05/0.4818, allocations: 184.2 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/0.4819, allocations: 304 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.358e-05/0.482, allocations: 190.1 kB / 1.025 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.4821, allocations: 184.1 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.4821, allocations: 105 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.4822, allocations: 180.3 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/0.4822, allocations: 108.9 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.705e-05/0.4823, allocations: 83.27 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4823, allocations: 0 / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002213/0.4825, allocations: 4 kB / 1.026 GB, free: 9.066 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.0004021/0.4829, allocations: 0.8359 MB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.566e-05/0.483, allocations: 7.938 kB / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.483, allocations: 0 / 1.027 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.483, allocations: 4 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.4833, allocations: 462 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008074/0.4841, allocations: 1.291 MB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.4843, allocations: 0.6729 MB / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.476e-05/0.4843, allocations: 4 kB / 1.029 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.4844, allocations: 11.47 kB / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.4844, allocations: 0 / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.5016, allocations: 1.258 MB / 1.031 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.39/6.891, allocations: 10.89 kB / 1.031 GB, free: 4.52 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_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_GetTimeSpanTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches