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.007545/0.007545, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.0021/0.0021, allocations: 194.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.404/2.404, allocations: 222.9 MB / 240.4 MB, free: 4.336 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 3.237/3.237, allocations: 437.1 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 59.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2676, allocations: 151.6 MB / 1.166 GB, free: 7.363 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009535/0.2771, allocations: 7.196 MB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6747/0.9518, allocations: 153.5 MB / 1.323 GB, free: 7.621 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.9532, allocations: 34.19 kB / 1.323 GB, free: 7.609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.9542, allocations: 345.3 kB / 1.323 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.9569, allocations: 0.764 MB / 1.324 GB, free: 7.043 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.9599, allocations: 1.387 MB / 1.325 GB, free: 6.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.9629, allocations: 2.657 MB / 1.328 GB, free: 5.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.9643, allocations: 1.041 MB / 1.329 GB, free: 4.781 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.9654, allocations: 0.8843 MB / 1.33 GB, free: 4.336 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.9665, allocations: 0.9082 MB / 1.331 GB, free: 3.863 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002693/0.9667, allocations: 211 kB / 1.331 GB, free: 3.863 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.9684, allocations: 0.9704 MB / 1.332 GB, free: 3.633 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005307/0.9689, allocations: 0.5384 MB / 1.333 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009807/0.9699, allocations: 1.026 MB / 1.334 GB, free: 2.594 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003088/0.973, allocations: 3.012 MB / 1.336 GB, free: 1.328 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.973, allocations: 1.281 kB / 1.336 GB, free: 1.328 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.202e-06/0.973, allocations: 0 / 1.336 GB, free: 1.328 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.318e-05/0.9731, allocations: 0 / 1.336 GB, free: 1.328 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.00433/0.9774, allocations: 2.448 MB / 1.339 GB, free: 15.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.9774, allocations: 9.406 kB / 1.339 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002677/0.9777, allocations: 214.9 kB / 1.339 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.9796, allocations: 386.7 kB / 1.339 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.9816, allocations: 1.331 MB / 1.341 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.9817, allocations: 106.8 kB / 1.341 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.9819, allocations: 139.5 kB / 1.341 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/0.9848, allocations: 1.661 MB / 1.343 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.9848, allocations: 8.984 kB / 1.343 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.985, allocations: 65.83 kB / 1.343 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.985, allocations: 35.41 kB / 1.343 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.9885, allocations: 2.144 MB / 1.345 GB, free: 13.3 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.007337/0.9959, allocations: 4.915 MB / 1.35 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00327/0.9992, allocations: 1.615 MB / 1.351 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/1, allocations: 0.5895 MB / 1.352 GB, free: 9.406 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/1, allocations: 61.06 kB / 1.352 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/1.002, allocations: 0.9367 MB / 1.353 GB, free: 8.793 MB / 1.029 GB Notification: Performance of pre-optimization done (n=154): time 3.116e-06/1.002, allocations: 9.5 kB / 1.353 GB, free: 8.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=154): time 0.006431/1.009, allocations: 2.375 MB / 1.355 GB, free: 7.504 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000227/1.009, allocations: 360.5 kB / 1.355 GB, free: 7.09 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.011, allocations: 1.158 MB / 1.357 GB, free: 6.449 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001173/1.011, allocations: 53.86 kB / 1.357 GB, free: 6.398 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006131/1.011, allocations: 0.6785 MB / 1.357 GB, free: 5.797 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004542/1.012, allocations: 0.5096 MB / 1.358 GB, free: 5.344 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004529/1.012, allocations: 280.1 kB / 1.358 GB, free: 5.184 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.012, allocations: 368.5 kB / 1.358 GB, free: 4.832 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/1.014, allocations: 499.5 kB / 1.359 GB, free: 4.586 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/1.015, allocations: 0.7262 MB / 1.36 GB, free: 4.098 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002368/1.017, allocations: 1.188 MB / 1.361 GB, free: 3.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.017, allocations: 0 / 1.361 GB, free: 3.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00377/1.021, allocations: 1.6 MB / 1.362 GB, free: 2.617 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.021, allocations: 5.062 kB / 1.362 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.021, allocations: 4.891 kB / 1.362 GB, free: 2.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/1.022, allocations: 166.2 kB / 1.362 GB, free: 2.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.023, allocations: 307 kB / 1.363 GB, free: 2.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004223/1.028, allocations: 3.291 MB / 1.366 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/1.029, allocations: 179.7 kB / 1.366 GB, free: 15.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.029, allocations: 64.42 kB / 1.366 GB, free: 15.08 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.0007469/1.03, allocations: 430.5 kB / 1.367 GB, free: 14.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/1.03, allocations: 169.7 kB / 1.367 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/1.035, allocations: 2.171 MB / 1.369 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.035, allocations: 17.91 kB / 1.369 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.035, allocations: 3.938 kB / 1.369 GB, free: 13.49 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/1.035, allocations: 7.969 kB / 1.369 GB, free: 13.48 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/1.037, allocations: 1.621 MB / 1.37 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.037, allocations: 0 / 1.37 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.038, allocations: 288.9 kB / 1.371 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008137/1.039, allocations: 150.6 kB / 1.371 GB, free: 12.16 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/1.039, allocations: 49.28 kB / 1.371 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003937/1.043, allocations: 3.345 MB / 1.374 GB, free: 8.875 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.043, allocations: 7.328 kB / 1.374 GB, free: 8.871 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/1.047, allocations: 1.829 MB / 1.376 GB, free: 7.918 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006709/1.048, allocations: 480.1 kB / 1.376 GB, free: 7.52 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/1.048, allocations: 40.69 kB / 1.376 GB, free: 7.492 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.049, allocations: 134.7 kB / 1.377 GB, free: 7.422 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/1.049, allocations: 139.5 kB / 1.377 GB, free: 7.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.049, allocations: 72.64 kB / 1.377 GB, free: 7.324 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00103/1.05, allocations: 0.8035 MB / 1.378 GB, free: 6.883 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.05, allocations: 0 / 1.378 GB, free: 6.883 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001169/1.052, allocations: 0.5214 MB / 1.378 GB, free: 6.738 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.005921/1.058, allocations: 2.929 MB / 1.381 GB, free: 5.035 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00311/1.061, allocations: 1.612 MB / 1.383 GB, free: 4.184 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.061, allocations: 0 / 1.383 GB, free: 4.184 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001842/1.062, allocations: 1.048 MB / 1.384 GB, free: 3.582 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.065, allocations: 0.5914 MB / 1.384 GB, free: 3.273 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/1.084, allocations: 11.24 MB / 1.395 GB, free: 9.035 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.085, allocations: 1.335 MB / 1.396 GB, free: 7.672 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001593/1.087, allocations: 0.5243 MB / 1.397 GB, free: 7.141 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/1.088, allocations: 0.7296 MB / 1.398 GB, free: 6.41 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.088, allocations: 7.938 kB / 1.398 GB, free: 6.402 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.086/1.174, allocations: 39.75 MB / 1.436 GB, free: 15.06 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.12/23.29, allocations: 20.09 kB / 1.436 GB, free: 15.05 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