Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.007469/0.007469, allocations: 99.47 kB / 15.73 MB, free: 6.441 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.001835/0.001836, allocations: 199.7 kB / 16.67 MB, free: 6.352 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: 4.305 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.469/2.469, allocations: 437.1 MB / 0.7105 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2449, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008359/0.2533, allocations: 7.198 MB / 1.173 GB, free: 76 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6758/0.9291, allocations: 153.4 MB / 1.323 GB, free: 7.547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.9302, allocations: 34.25 kB / 1.323 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000814/0.9311, allocations: 348.5 kB / 1.323 GB, free: 7.348 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.9331, allocations: 0.7792 MB / 1.324 GB, free: 6.969 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.9359, allocations: 1.388 MB / 1.325 GB, free: 6.637 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002615/0.9385, allocations: 2.664 MB / 1.328 GB, free: 5.266 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.9399, allocations: 1.046 MB / 1.329 GB, free: 4.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.941, allocations: 0.8886 MB / 1.33 GB, free: 4.258 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000963/0.9419, allocations: 0.9116 MB / 1.331 GB, free: 3.781 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002577/0.9422, allocations: 211.6 kB / 1.331 GB, free: 3.781 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.9438, allocations: 0.97 MB / 1.332 GB, free: 3.551 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.9442, allocations: 0.5381 MB / 1.333 GB, free: 3.207 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008339/0.9451, allocations: 1.022 MB / 1.334 GB, free: 2.516 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002928/0.948, allocations: 3.012 MB / 1.336 GB, free: 1.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.948, allocations: 0 / 1.336 GB, free: 1.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.212e-06/0.948, allocations: 0 / 1.336 GB, free: 1.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.813e-05/0.9481, allocations: 0 / 1.336 GB, free: 1.25 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.004169/0.9523, allocations: 2.445 MB / 1.339 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.9523, allocations: 9.719 kB / 1.339 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/0.9525, allocations: 218.4 kB / 1.339 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.9545, allocations: 385 kB / 1.339 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.9565, allocations: 1.338 MB / 1.341 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/0.9566, allocations: 106.8 kB / 1.341 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.9568, allocations: 140.8 kB / 1.341 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002809/0.9596, allocations: 1.658 MB / 1.343 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.9596, allocations: 1.094 kB / 1.343 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/0.9598, allocations: 63.62 kB / 1.343 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.9598, allocations: 37.23 kB / 1.343 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.9633, allocations: 2.152 MB / 1.345 GB, free: 13.21 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007347/0.9706, allocations: 4.92 MB / 1.35 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.9738, allocations: 1.61 MB / 1.351 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.9749, allocations: 0.5897 MB / 1.352 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.9751, allocations: 57.25 kB / 1.352 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.9767, allocations: 0.9361 MB / 1.353 GB, free: 8.711 MB / 1.029 GB Notification: Performance of pre-optimization done (n=154): time 3.075e-06/0.9768, allocations: 4 kB / 1.353 GB, free: 8.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=154): time 0.006284/0.983, allocations: 2.388 MB / 1.355 GB, free: 7.414 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.9832, allocations: 356.2 kB / 1.355 GB, free: 7.004 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001373/0.9846, allocations: 1.164 MB / 1.357 GB, free: 6.355 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.9847, allocations: 57.33 kB / 1.357 GB, free: 6.305 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000508/0.9852, allocations: 0.6725 MB / 1.357 GB, free: 5.707 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003743/0.9856, allocations: 0.5014 MB / 1.358 GB, free: 5.262 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004308/0.986, allocations: 285.6 kB / 1.358 GB, free: 5.098 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9862, allocations: 362.6 kB / 1.358 GB, free: 4.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.9873, allocations: 498.3 kB / 1.359 GB, free: 4.508 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.9886, allocations: 0.7243 MB / 1.36 GB, free: 4.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.9909, allocations: 1.182 MB / 1.361 GB, free: 3.355 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.9909, allocations: 2.781 kB / 1.361 GB, free: 3.355 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003668/0.9946, allocations: 1.599 MB / 1.362 GB, free: 2.543 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.9946, allocations: 4.906 kB / 1.362 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.9947, allocations: 6.516 kB / 1.362 GB, free: 2.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.9957, allocations: 170.9 kB / 1.362 GB, free: 2.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.9969, allocations: 315.4 kB / 1.363 GB, free: 2.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003895/1.001, allocations: 3.289 MB / 1.366 GB, free: 15.13 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/1.002, allocations: 178.2 kB / 1.366 GB, free: 15.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/1.002, allocations: 68.14 kB / 1.366 GB, free: 14.99 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007685/1.003, allocations: 413.7 kB / 1.367 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/1.004, allocations: 170.1 kB / 1.367 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/1.008, allocations: 2.175 MB / 1.369 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.009, allocations: 17.31 kB / 1.369 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/1.009, allocations: 2.219 kB / 1.369 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/1.009, allocations: 11.91 kB / 1.369 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/1.011, allocations: 1.617 MB / 1.37 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.011, allocations: 3.984 kB / 1.37 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/1.012, allocations: 290.5 kB / 1.371 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008488/1.013, allocations: 145 kB / 1.371 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/1.013, allocations: 50.52 kB / 1.371 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003649/1.016, allocations: 3.342 MB / 1.374 GB, free: 8.801 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.016, allocations: 128 / 1.374 GB, free: 8.801 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003934/1.02, allocations: 1.839 MB / 1.376 GB, free: 7.836 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000794/1.021, allocations: 482.9 kB / 1.376 GB, free: 7.438 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/1.022, allocations: 37.91 kB / 1.377 GB, free: 7.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.023, allocations: 132.4 kB / 1.377 GB, free: 7.344 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/1.023, allocations: 133.9 kB / 1.377 GB, free: 7.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/1.023, allocations: 73.3 kB / 1.377 GB, free: 7.254 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00116/1.024, allocations: 0.8068 MB / 1.378 GB, free: 6.809 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.6e-07/1.024, allocations: 0 / 1.378 GB, free: 6.809 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001575/1.026, allocations: 0.5185 MB / 1.378 GB, free: 6.664 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005633/1.032, allocations: 2.948 MB / 1.381 GB, free: 4.945 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003138/1.035, allocations: 1.613 MB / 1.383 GB, free: 4.09 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.035, allocations: 2.25 kB / 1.383 GB, free: 4.09 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/1.037, allocations: 1.046 MB / 1.384 GB, free: 3.488 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.039, allocations: 0.5794 MB / 1.384 GB, free: 3.195 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/1.058, allocations: 11.24 MB / 1.395 GB, free: 8.969 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.06, allocations: 1.342 MB / 1.396 GB, free: 7.598 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001642/1.061, allocations: 0.5165 MB / 1.397 GB, free: 7.074 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.062, allocations: 0.7335 MB / 1.398 GB, free: 6.34 MB / 1.061 GB Notification: Performance of SimCode: time 6.61e-07/1.062, allocations: 4 kB / 1.398 GB, free: 6.336 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07299/1.135, allocations: 39.76 MB / 1.437 GB, free: 15.01 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.54, allocations: 22.11 kB / 1.437 GB, free: 14.99 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_10_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches