Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_11_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.001973/0.001973, allocations: 112.5 kB / 15.73 MB, free: 76 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.00215/0.00215, allocations: 191.4 kB / 16.67 MB, free: 6.582 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.839/2.839, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 60.12 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2723, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009497/0.2818, allocations: 7.187 MB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6737/0.9555, allocations: 153.5 MB / 1.377 GB, free: 7.348 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.9568, allocations: 34.5 kB / 1.377 GB, free: 7.336 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008786/0.9577, allocations: 344.4 kB / 1.377 GB, free: 7.109 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.9598, allocations: 0.7644 MB / 1.378 GB, free: 6.641 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.9626, allocations: 1.395 MB / 1.379 GB, free: 5.863 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002616/0.9652, allocations: 2.66 MB / 1.382 GB, free: 4.383 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.9666, allocations: 1.042 MB / 1.383 GB, free: 3.734 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.9676, allocations: 0.879 MB / 1.384 GB, free: 3.199 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.9687, allocations: 0.9133 MB / 1.385 GB, free: 2.555 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.969, allocations: 212.2 kB / 1.385 GB, free: 2.555 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.9706, allocations: 0.9762 MB / 1.386 GB, free: 2.133 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005199/0.9711, allocations: 0.5379 MB / 1.387 GB, free: 1.703 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009496/0.9721, allocations: 1.012 MB / 1.388 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.9753, allocations: 3.02 MB / 1.39 GB, free: 14.77 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.9753, allocations: 0 / 1.39 GB, free: 14.77 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9753, allocations: 3.938 kB / 1.39 GB, free: 14.77 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.9753, allocations: 9.094 kB / 1.39 GB, free: 14.76 MB / 1.092 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.004559/0.9799, allocations: 2.439 MB / 1.393 GB, free: 12.91 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.98, allocations: 10.09 kB / 1.393 GB, free: 12.91 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003273/0.9803, allocations: 218.4 kB / 1.393 GB, free: 12.73 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.9825, allocations: 380.5 kB / 1.393 GB, free: 12.55 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.9848, allocations: 1.334 MB / 1.395 GB, free: 11.51 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.369e-05/0.9849, allocations: 107.3 kB / 1.395 GB, free: 11.46 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.9851, allocations: 140.4 kB / 1.395 GB, free: 11.41 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/0.9881, allocations: 1.664 MB / 1.397 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.9881, allocations: 0 / 1.397 GB, free: 10.32 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.9883, allocations: 67.5 kB / 1.397 GB, free: 10.27 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.9883, allocations: 35.53 kB / 1.397 GB, free: 10.27 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/0.992, allocations: 2.145 MB / 1.399 GB, free: 9.242 MB / 1.092 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.007632/0.9997, allocations: 4.916 MB / 1.404 GB, free: 5.383 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003241/1.003, allocations: 1.606 MB / 1.405 GB, free: 4.57 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/1.004, allocations: 0.5914 MB / 1.406 GB, free: 4.27 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/1.004, allocations: 61.66 kB / 1.406 GB, free: 4.234 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/1.006, allocations: 0.9406 MB / 1.407 GB, free: 3.648 MB / 1.092 GB Notification: Performance of pre-optimization done (n=154): time 3.036e-06/1.006, allocations: 0 / 1.407 GB, free: 3.648 MB / 1.092 GB Notification: Performance of matching and sorting (n=154): time 0.00638/1.012, allocations: 2.382 MB / 1.409 GB, free: 2.367 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001963/1.013, allocations: 354.3 kB / 1.409 GB, free: 1.953 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.014, allocations: 1.163 MB / 1.411 GB, free: 1.309 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001097/1.014, allocations: 61.17 kB / 1.411 GB, free: 1.25 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005737/1.015, allocations: 0.6734 MB / 1.411 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004234/1.015, allocations: 0.5061 MB / 1.412 GB, free: 208 kB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004229/1.016, allocations: 283.1 kB / 1.412 GB, free: 44 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.016, allocations: 356.4 kB / 1.412 GB, free: 15.7 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/1.017, allocations: 499.2 kB / 1.413 GB, free: 15.46 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/1.018, allocations: 0.7306 MB / 1.414 GB, free: 14.83 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/1.021, allocations: 1.184 MB / 1.415 GB, free: 13.62 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1.021, allocations: 6.984 kB / 1.415 GB, free: 13.61 MB / 1.107 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00416/1.025, allocations: 1.595 MB / 1.416 GB, free: 12.01 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/1.025, allocations: 11.94 kB / 1.416 GB, free: 12 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.025, allocations: 7.938 kB / 1.416 GB, free: 11.99 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/1.026, allocations: 165.8 kB / 1.416 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/1.027, allocations: 307.5 kB / 1.417 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004338/1.032, allocations: 3.294 MB / 1.42 GB, free: 7.934 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.033, allocations: 179.1 kB / 1.42 GB, free: 7.758 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.033, allocations: 63.95 kB / 1.42 GB, free: 7.695 MB / 1.107 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.0007743/1.034, allocations: 409.5 kB / 1.421 GB, free: 7.285 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/1.035, allocations: 166.9 kB / 1.421 GB, free: 7.121 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005328/1.04, allocations: 2.181 MB / 1.423 GB, free: 4.926 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/1.04, allocations: 16 kB / 1.423 GB, free: 4.91 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.04, allocations: 4 kB / 1.423 GB, free: 4.906 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/1.04, allocations: 15.91 kB / 1.423 GB, free: 4.891 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/1.042, allocations: 1.618 MB / 1.424 GB, free: 3.215 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.042, allocations: 8 kB / 1.424 GB, free: 3.207 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.043, allocations: 287.6 kB / 1.425 GB, free: 2.926 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008937/1.044, allocations: 145.5 kB / 1.425 GB, free: 2.777 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/1.044, allocations: 51.95 kB / 1.425 GB, free: 2.727 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/1.048, allocations: 3.339 MB / 1.428 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/1.048, allocations: 0 / 1.428 GB, free: 15.1 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004252/1.053, allocations: 1.836 MB / 1.43 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/1.053, allocations: 483.3 kB / 1.43 GB, free: 12.75 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/1.054, allocations: 39.98 kB / 1.43 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/1.055, allocations: 123.9 kB / 1.431 GB, free: 12.59 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/1.055, allocations: 142 kB / 1.431 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/1.055, allocations: 71.95 kB / 1.431 GB, free: 12.38 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001183/1.057, allocations: 0.8069 MB / 1.432 GB, free: 11.57 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.114e-06/1.057, allocations: 0 / 1.432 GB, free: 11.57 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001329/1.058, allocations: 0.53 MB / 1.432 GB, free: 11.04 MB / 1.123 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.006596/1.065, allocations: 2.947 MB / 1.435 GB, free: 8.242 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003626/1.068, allocations: 1.606 MB / 1.437 GB, free: 6.598 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.068, allocations: 0 / 1.437 GB, free: 6.598 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002072/1.07, allocations: 1.043 MB / 1.438 GB, free: 5.535 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/1.073, allocations: 0.5935 MB / 1.438 GB, free: 4.984 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/1.094, allocations: 11.23 MB / 1.449 GB, free: 9.543 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.096, allocations: 1.338 MB / 1.45 GB, free: 8.176 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001636/1.097, allocations: 0.5165 MB / 1.451 GB, free: 7.652 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.098, allocations: 0.7413 MB / 1.452 GB, free: 6.91 MB / 1.139 GB Notification: Performance of SimCode: time 5.51e-07/1.098, allocations: 0 / 1.452 GB, free: 6.91 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08519/1.184, allocations: 39.75 MB / 1.49 GB, free: 15.59 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.41, allocations: 4.062 kB / 1.49 GB, free: 15.59 MB / 1.186 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_11_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches