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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008637/0.0008635, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0049/0.0049, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.066/2.066, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003152, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.495/0.4954, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.003312/0.4987, allocations: 3.856 MB / 0.9589 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1284/0.6272, allocations: 146.6 MB / 1.102 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000525/0.6277, allocations: 11.94 kB / 1.102 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.6281, allocations: 131 kB / 1.102 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.6291, allocations: 424.1 kB / 1.103 GB, free: 7.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.6304, allocations: 0.6445 MB / 1.103 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008464/0.6313, allocations: 1.117 MB / 1.104 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005773/0.6318, allocations: 494.3 kB / 1.105 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.6321, allocations: 310.5 kB / 1.105 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000355/0.6325, allocations: 326.2 kB / 1.105 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.908e-05/0.6326, allocations: 24 kB / 1.105 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.633, allocations: 303.7 kB / 1.106 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.6331, allocations: 167.2 kB / 1.106 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.6334, allocations: 411.2 kB / 1.106 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.6344, allocations: 1.273 MB / 1.108 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.6344, allocations: 0 / 1.108 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6344, allocations: 0 / 1.108 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6344, allocations: 4 kB / 1.108 GB, free: 2.664 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.001578/0.636, allocations: 1.09 MB / 1.109 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.636, allocations: 12.03 kB / 1.109 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.6362, allocations: 114.7 kB / 1.109 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.6364, allocations: 103.7 kB / 1.109 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/0.6372, allocations: 0.6992 MB / 1.11 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.948e-05/0.6372, allocations: 53.98 kB / 1.11 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-05/0.6373, allocations: 64 kB / 1.11 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.6383, allocations: 0.7721 MB / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.6384, allocations: 0 / 1.11 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.6384, allocations: 31.94 kB / 1.11 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.6385, allocations: 23.98 kB / 1.11 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.6397, allocations: 0.965 MB / 1.111 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.6424, allocations: 2.505 MB / 1.114 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009981/0.6434, allocations: 0.6955 MB / 1.115 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.6438, allocations: 251.3 kB / 1.115 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.299e-05/0.6439, allocations: 24.53 kB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005701/0.6444, allocations: 426.3 kB / 1.115 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.006e-06/0.6444, allocations: 4 kB / 1.115 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001235/0.6457, allocations: 0.8389 MB / 1.116 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/0.6458, allocations: 243.8 kB / 1.116 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/0.6464, allocations: 0.6331 MB / 1.117 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.988e-05/0.6465, allocations: 41.7 kB / 1.117 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.6467, allocations: 360.5 kB / 1.117 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.6468, allocations: 220.8 kB / 1.117 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.935e-05/0.6469, allocations: 57.69 kB / 1.118 GB, free: 8.094 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6471, allocations: 386.9 kB / 1.118 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.6474, allocations: 197.2 kB / 1.118 GB, free: 7.516 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.6478, allocations: 321.4 kB / 1.118 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.6485, allocations: 0.5016 MB / 1.119 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6485, allocations: 0 / 1.119 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008802/0.6494, allocations: 0.6369 MB / 1.12 GB, free: 6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.6494, allocations: 12.09 kB / 1.12 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6494, allocations: 0 / 1.12 GB, free: 5.988 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.6494, allocations: 4 kB / 1.12 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.6499, allocations: 139.7 kB / 1.12 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.6499, allocations: 4 kB / 1.12 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.6504, allocations: 103.1 kB / 1.12 GB, free: 5.746 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.6504, allocations: 27.97 kB / 1.12 GB, free: 5.719 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.0002739/0.6507, allocations: 259.5 kB / 1.12 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.6508, allocations: 75.06 kB / 1.12 GB, free: 5.383 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.6522, allocations: 0.8446 MB / 1.121 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.6522, allocations: 11.94 kB / 1.121 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6522, allocations: 0 / 1.121 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.6522, allocations: 7.984 kB / 1.121 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008635/0.6531, allocations: 0.9754 MB / 1.122 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6531, allocations: 0 / 1.122 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.6535, allocations: 135.8 kB / 1.122 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.6535, allocations: 4 kB / 1.122 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.6536, allocations: 19.98 kB / 1.122 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6536, allocations: 0 / 1.122 GB, free: 3.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6536, allocations: 4 kB / 1.122 GB, free: 3.316 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000946/0.6545, allocations: 0.7432 MB / 1.123 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/0.6548, allocations: 271.8 kB / 1.123 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.372e-05/0.6549, allocations: 19.98 kB / 1.123 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.6554, allocations: 67.95 kB / 1.123 GB, free: 2.176 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.6555, allocations: 56.56 kB / 1.123 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/0.6556, allocations: 31.98 kB / 1.123 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004586/0.656, allocations: 459 kB / 1.124 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.656, allocations: 0 / 1.124 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005298/0.6566, allocations: 263.4 kB / 1.124 GB, free: 1.383 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.002206/0.6588, allocations: 1.789 MB / 1.126 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007701/0.6596, allocations: 0.5405 MB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6596, allocations: 0 / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.66, allocations: 323.6 kB / 1.126 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009857/0.661, allocations: 248.1 kB / 1.127 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007459/0.6685, allocations: 6.039 MB / 1.133 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.6689, allocations: 0.976 MB / 1.134 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005978/0.6695, allocations: 250.2 kB / 1.134 GB, free: 7.246 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.6699, allocations: 331.3 kB / 1.134 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of SimCode: time 2.6e-07/0.6699, allocations: 0 / 1.134 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5056/1.176, allocations: 17.24 MB / 1.151 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/1.176, allocations: 283.1 kB / 1.151 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.983/3.158, allocations: 0 / 1.151 GB, free: 5.641 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)