Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",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.001156/0.001156, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001113/0.001113, allocations: 192.9 kB / 16.25 MB, free: 6.621 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.165/1.165, allocations: 222.9 MB / 239.9 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.031/2.031, allocations: 390.3 MB / 0.6644 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 59.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4658/0.467, allocations: 140.4 MB / 0.9492 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004067/0.4711, allocations: 4.27 MB / 0.9534 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1338/0.6049, allocations: 148.3 MB / 1.098 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006871/0.6056, allocations: 11.94 kB / 1.098 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005489/0.6062, allocations: 134.9 kB / 1.098 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.6078, allocations: 437.9 kB / 1.099 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.6093, allocations: 0.6673 MB / 1.099 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001137/0.6104, allocations: 1.195 MB / 1.101 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006402/0.6111, allocations: 0.5159 MB / 1.101 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004676/0.6116, allocations: 410.5 kB / 1.102 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.612, allocations: 426.1 kB / 1.102 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.6122, allocations: 96 kB / 1.102 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005616/0.6128, allocations: 371.7 kB / 1.102 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.613, allocations: 259.1 kB / 1.103 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.6134, allocations: 489.4 kB / 1.103 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.6146, allocations: 1.351 MB / 1.104 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6146, allocations: 0 / 1.104 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6146, allocations: 0 / 1.104 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.937e-05/0.6147, allocations: 8 kB / 1.104 GB, free: 2.703 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001987/0.6167, allocations: 1.269 MB / 1.106 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.6167, allocations: 16.03 kB / 1.106 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.6168, allocations: 114.7 kB / 1.106 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002689/0.6171, allocations: 107.7 kB / 1.106 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008355/0.6179, allocations: 0.6953 MB / 1.107 GB, free: 408 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.618, allocations: 50 kB / 1.107 GB, free: 360 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.6181, allocations: 64 kB / 1.107 GB, free: 296 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.6192, allocations: 0.7798 MB / 1.107 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.6192, allocations: 0 / 1.107 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.6193, allocations: 31.94 kB / 1.107 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.6193, allocations: 23.98 kB / 1.107 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.6205, allocations: 0.9689 MB / 1.108 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.6235, allocations: 2.485 MB / 1.111 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.6246, allocations: 0.6799 MB / 1.112 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.6249, allocations: 259.2 kB / 1.112 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.948e-05/0.625, allocations: 28.52 kB / 1.112 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005795/0.6256, allocations: 423.5 kB / 1.112 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.136e-06/0.6256, allocations: 3.984 kB / 1.112 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001312/0.6269, allocations: 0.8376 MB / 1.113 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.627, allocations: 248 kB / 1.113 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006355/0.6277, allocations: 0.6215 MB / 1.114 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.199e-05/0.6277, allocations: 45.69 kB / 1.114 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.628, allocations: 364.5 kB / 1.114 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.6281, allocations: 224.8 kB / 1.114 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.6283, allocations: 138.2 kB / 1.115 GB, free: 7.891 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6284, allocations: 382.8 kB / 1.115 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.6287, allocations: 201.2 kB / 1.115 GB, free: 7.312 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.6292, allocations: 333.4 kB / 1.115 GB, free: 6.949 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.6299, allocations: 0.4977 MB / 1.116 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.6299, allocations: 0 / 1.116 GB, free: 6.434 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009349/0.6308, allocations: 0.6292 MB / 1.117 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.6308, allocations: 8 kB / 1.117 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6308, allocations: 160 / 1.117 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6309, allocations: 8 kB / 1.117 GB, free: 5.781 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.6313, allocations: 135.7 kB / 1.117 GB, free: 5.648 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.6314, allocations: 11.94 kB / 1.117 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.6318, allocations: 81.73 kB / 1.117 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.6319, allocations: 27.98 kB / 1.117 GB, free: 5.531 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (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,$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 (80): * Single equations (assignments): 80 * 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 prepare postOptimizeDAE: time 0.0002806/0.6322, allocations: 261.5 kB / 1.117 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.6323, allocations: 78.97 kB / 1.117 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.6337, allocations: 0.8448 MB / 1.118 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6337, allocations: 19.94 kB / 1.118 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6337, allocations: 0 / 1.118 GB, free: 4.316 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.6337, allocations: 3.984 kB / 1.118 GB, free: 4.312 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009198/0.6346, allocations: 0.9715 MB / 1.119 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6346, allocations: 0 / 1.119 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.6351, allocations: 123.8 kB / 1.119 GB, free: 3.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.812e-06/0.6351, allocations: 4 kB / 1.119 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.6351, allocations: 23.92 kB / 1.119 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.6351, allocations: 4 kB / 1.119 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.6351, allocations: 4.031 kB / 1.119 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000996/0.6361, allocations: 0.7315 MB / 1.12 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002611/0.6364, allocations: 263.8 kB / 1.12 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.6365, allocations: 20 kB / 1.12 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.637, allocations: 51.94 kB / 1.12 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.6371, allocations: 72.55 kB / 1.12 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.6372, allocations: 27.98 kB / 1.12 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004613/0.6376, allocations: 455 kB / 1.121 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6376, allocations: 0 / 1.121 GB, free: 1.477 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005577/0.6382, allocations: 259.5 kB / 1.121 GB, free: 1.223 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002297/0.6405, allocations: 1.786 MB / 1.123 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.6418, allocations: 0.7278 MB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6418, allocations: 0 / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.6423, allocations: 323.9 kB / 1.124 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00092/0.6432, allocations: 266.5 kB / 1.124 GB, free: 14.31 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007783/0.651, allocations: 6.012 MB / 1.13 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.6515, allocations: 0.9796 MB / 1.131 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006225/0.6521, allocations: 254.2 kB / 1.131 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.6525, allocations: 327.3 kB / 1.131 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of SimCode: time 2.61e-07/0.6525, allocations: 4 kB / 1.131 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1127/0.7653, allocations: 17.97 MB / 1.149 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002555/0.7655, allocations: 281.8 kB / 1.149 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.773, allocations: 0 / 1.149 GB, free: 4.559 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)