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.008139/0.008139, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.002021/0.002021, allocations: 201.4 kB / 16.68 MB, free: 5.977 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.484/2.484, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2448, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007911/0.2527, allocations: 7.202 MB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6906/0.9433, allocations: 153.5 MB / 1.323 GB, free: 7.551 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001059/0.9444, allocations: 30.16 kB / 1.323 GB, free: 7.543 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008098/0.9452, allocations: 349.6 kB / 1.323 GB, free: 7.352 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.9474, allocations: 0.7762 MB / 1.324 GB, free: 6.977 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.9505, allocations: 1.392 MB / 1.325 GB, free: 6.645 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.9534, allocations: 2.666 MB / 1.328 GB, free: 5.273 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.9548, allocations: 1.042 MB / 1.329 GB, free: 4.711 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.956, allocations: 0.8871 MB / 1.33 GB, free: 4.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.9571, allocations: 0.9123 MB / 1.331 GB, free: 3.793 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.9574, allocations: 211.3 kB / 1.331 GB, free: 3.793 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.9591, allocations: 0.9714 MB / 1.332 GB, free: 3.562 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004469/0.9596, allocations: 0.5385 MB / 1.333 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.9608, allocations: 1.02 MB / 1.334 GB, free: 2.527 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004139/0.9649, allocations: 3.012 MB / 1.336 GB, free: 1.262 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9649, allocations: 1.812 kB / 1.336 GB, free: 1.262 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9649, allocations: 4 kB / 1.336 GB, free: 1.258 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.709e-05/0.965, allocations: 0 / 1.336 GB, free: 1.258 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.004708/0.9697, allocations: 2.444 MB / 1.339 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.9698, allocations: 11.75 kB / 1.339 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000254/0.97, allocations: 213.5 kB / 1.339 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.9721, allocations: 381.8 kB / 1.339 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.9741, allocations: 1.336 MB / 1.341 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.059e-05/0.9742, allocations: 113 kB / 1.341 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.9744, allocations: 141.1 kB / 1.341 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002819/0.9773, allocations: 1.663 MB / 1.343 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.9773, allocations: 0.9062 kB / 1.343 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.9774, allocations: 65.56 kB / 1.343 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.9775, allocations: 35.94 kB / 1.343 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00346/0.9809, allocations: 2.144 MB / 1.345 GB, free: 13.23 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.007574/0.9885, allocations: 4.913 MB / 1.35 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003283/0.9918, allocations: 1.623 MB / 1.351 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.993, allocations: 0.5899 MB / 1.352 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/0.9931, allocations: 57.47 kB / 1.352 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00175/0.9949, allocations: 0.939 MB / 1.353 GB, free: 8.684 MB / 1.029 GB Notification: Performance of pre-optimization done (n=154): time 3.897e-06/0.9949, allocations: 0 / 1.353 GB, free: 8.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=154): time 0.006448/1.001, allocations: 2.38 MB / 1.355 GB, free: 7.398 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/1.002, allocations: 358.6 kB / 1.355 GB, free: 6.988 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/1.003, allocations: 1.169 MB / 1.357 GB, free: 6.336 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/1.003, allocations: 55.3 kB / 1.357 GB, free: 6.285 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/1.004, allocations: 0.6786 MB / 1.357 GB, free: 5.684 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/1.004, allocations: 0.5022 MB / 1.358 GB, free: 5.238 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004322/1.005, allocations: 284.8 kB / 1.358 GB, free: 5.074 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.005, allocations: 356.6 kB / 1.358 GB, free: 4.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/1.006, allocations: 0.4899 MB / 1.359 GB, free: 4.484 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/1.007, allocations: 0.7209 MB / 1.36 GB, free: 4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/1.01, allocations: 1.188 MB / 1.361 GB, free: 3.332 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.01, allocations: 2.219 kB / 1.361 GB, free: 3.332 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003825/1.013, allocations: 1.595 MB / 1.362 GB, free: 2.523 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.013, allocations: 8.297 kB / 1.362 GB, free: 2.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.014, allocations: 3.125 kB / 1.362 GB, free: 2.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.015, allocations: 174.6 kB / 1.362 GB, free: 2.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.016, allocations: 306 kB / 1.363 GB, free: 2.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/1.02, allocations: 3.296 MB / 1.366 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.021, allocations: 187.1 kB / 1.366 GB, free: 14.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/1.021, allocations: 65.23 kB / 1.366 GB, free: 14.97 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.0007825/1.022, allocations: 408.8 kB / 1.367 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004223/1.023, allocations: 179.6 kB / 1.367 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004997/1.028, allocations: 2.165 MB / 1.369 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.028, allocations: 17.88 kB / 1.369 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/1.028, allocations: 0 / 1.369 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/1.028, allocations: 18.84 kB / 1.369 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/1.03, allocations: 1.618 MB / 1.37 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.03, allocations: 2.531 kB / 1.37 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/1.031, allocations: 285.6 kB / 1.371 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008313/1.032, allocations: 142.3 kB / 1.371 GB, free: 12.07 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.032, allocations: 51.11 kB / 1.371 GB, free: 12.03 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003553/1.035, allocations: 3.346 MB / 1.374 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.035, allocations: 2.047 kB / 1.374 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004094/1.04, allocations: 1.829 MB / 1.376 GB, free: 7.824 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008147/1.04, allocations: 486.8 kB / 1.376 GB, free: 7.422 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/1.041, allocations: 33.66 kB / 1.377 GB, free: 7.398 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/1.042, allocations: 132.1 kB / 1.377 GB, free: 7.332 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/1.042, allocations: 143.3 kB / 1.377 GB, free: 7.258 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/1.042, allocations: 77.06 kB / 1.377 GB, free: 7.227 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001236/1.044, allocations: 0.8034 MB / 1.378 GB, free: 6.785 MB / 1.045 GB Notification: Performance of sort global known variables: time 2e-07/1.044, allocations: 0 / 1.378 GB, free: 6.785 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001436/1.045, allocations: 0.5213 MB / 1.378 GB, free: 6.641 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.005575/1.051, allocations: 2.94 MB / 1.381 GB, free: 4.926 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003251/1.054, allocations: 1.613 MB / 1.383 GB, free: 4.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.054, allocations: 2.094 kB / 1.383 GB, free: 4.07 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/1.056, allocations: 1.046 MB / 1.384 GB, free: 3.469 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.058, allocations: 0.5709 MB / 1.384 GB, free: 3.18 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.078, allocations: 11.25 MB / 1.395 GB, free: 8.906 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.079, allocations: 1.333 MB / 1.396 GB, free: 7.543 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00177/1.081, allocations: 0.5166 MB / 1.397 GB, free: 7.02 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.082, allocations: 0.7413 MB / 1.398 GB, free: 6.277 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/1.082, allocations: 0 / 1.398 GB, free: 6.277 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07524/1.157, allocations: 39.76 MB / 1.437 GB, free: 14.95 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.73, allocations: 32.66 kB / 1.437 GB, free: 14.93 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