Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00478/0.00478, allocations: 105.5 kB / 15.74 MB, free: 6.02 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.001107/0.001107, allocations: 193.2 kB / 16.67 MB, free: 5.934 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 291.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9227/0.9227, allocations: 169.2 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 91.84 kB / 0.6814 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3714, allocations: 86.97 MB / 0.7663 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.00532/0.3767, allocations: 4.26 MB / 0.7705 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1441/0.5209, allocations: 150.5 MB / 0.9175 GB, free: 8.461 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000599/0.5215, allocations: 19.88 kB / 0.9175 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.522, allocations: 162.5 kB / 0.9177 GB, free: 8.281 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.5234, allocations: 488.2 kB / 0.9182 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.525, allocations: 0.7574 MB / 0.9189 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001051/0.526, allocations: 1.207 MB / 0.9201 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006533/0.5267, allocations: 0.5101 MB / 0.9206 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.5271, allocations: 402.5 kB / 0.921 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004709/0.5276, allocations: 418.1 kB / 0.9214 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.5277, allocations: 96 kB / 0.9214 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006233/0.5284, allocations: 403.6 kB / 0.9218 GB, free: 4.027 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.5286, allocations: 259.2 kB / 0.9221 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003725/0.529, allocations: 477.4 kB / 0.9225 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.5304, allocations: 1.399 MB / 0.9239 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.5304, allocations: 0 / 0.9239 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5304, allocations: 0 / 0.9239 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.5304, allocations: 0 / 0.9239 GB, free: 1.906 MB / 0.6856 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.001969/0.5324, allocations: 1.311 MB / 0.9252 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.5324, allocations: 12.03 kB / 0.9252 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00028/0.5327, allocations: 116.2 kB / 0.9253 GB, free: 424 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5337, allocations: 0.7235 MB / 0.926 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.5338, allocations: 50 kB / 0.9261 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.5339, allocations: 63.98 kB / 0.9261 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.5351, allocations: 0.776 MB / 0.9269 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.5351, allocations: 3.938 kB / 0.9269 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.5352, allocations: 31.98 kB / 0.9269 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.5352, allocations: 20 kB / 0.9269 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.5365, allocations: 0.965 MB / 0.9279 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.5395, allocations: 2.459 MB / 0.9303 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.5406, allocations: 0.6809 MB / 0.9309 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.541, allocations: 255.3 kB / 0.9312 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.694e-05/0.5411, allocations: 28.5 kB / 0.9312 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006245/0.5417, allocations: 430.2 kB / 0.9316 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 3.456e-06/0.5417, allocations: 4.109 kB / 0.9316 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001429/0.5432, allocations: 0.8342 MB / 0.9324 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.5433, allocations: 251.8 kB / 0.9327 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006998/0.544, allocations: 0.6215 MB / 0.9333 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.5441, allocations: 41.7 kB / 0.9333 GB, free: 7.918 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.5443, allocations: 360.9 kB / 0.9337 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.5445, allocations: 238 kB / 0.9339 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.5447, allocations: 162.5 kB / 0.9341 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5449, allocations: 382.9 kB / 0.9344 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.5452, allocations: 221.9 kB / 0.9346 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/0.5457, allocations: 333.4 kB / 0.9349 GB, free: 6.211 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.5465, allocations: 0.5211 MB / 0.9355 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.5465, allocations: 0 / 0.9355 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001107/0.5477, allocations: 0.6881 MB / 0.9361 GB, free: 4.973 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5477, allocations: 10.5 kB / 0.9361 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5477, allocations: 4.156 kB / 0.9361 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5477, allocations: 4 kB / 0.9361 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005365/0.5483, allocations: 147.8 kB / 0.9363 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.5483, allocations: 7.938 kB / 0.9363 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.5489, allocations: 83.58 kB / 0.9364 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.118e-05/0.5489, allocations: 39.95 kB / 0.9364 GB, free: 4.684 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (88): * Single equations (assignments): 88 * 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.0003352/0.5493, allocations: 261.8 kB / 0.9367 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.5494, allocations: 83.42 kB / 0.9367 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.5509, allocations: 0.8447 MB / 0.9376 GB, free: 3.488 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.5509, allocations: 8 kB / 0.9376 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5509, allocations: 3.938 kB / 0.9376 GB, free: 3.477 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.551, allocations: 3.984 kB / 0.9376 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.5519, allocations: 0.9716 MB / 0.9385 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.552, allocations: 0 / 0.9385 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.5524, allocations: 119.9 kB / 0.9386 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.5524, allocations: 11.97 kB / 0.9387 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.5525, allocations: 19.98 kB / 0.9387 GB, free: 2.289 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.86e-06/0.5525, allocations: 7.938 kB / 0.9387 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5525, allocations: 0 / 0.9387 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.5536, allocations: 0.7359 MB / 0.9394 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.5539, allocations: 268.2 kB / 0.9397 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.554, allocations: 19.94 kB / 0.9397 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.5545, allocations: 55.94 kB / 0.9397 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.5546, allocations: 56.58 kB / 0.9398 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.5547, allocations: 35.97 kB / 0.9398 GB, free: 1.074 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004994/0.5552, allocations: 451 kB / 0.9402 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5552, allocations: 0 / 0.9402 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006777/0.5559, allocations: 275.3 kB / 0.9405 GB, free: 380 kB / 0.7012 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.001233/0.5571, allocations: 0.6043 MB / 0.9411 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009442/0.5581, allocations: 0.5871 MB / 0.9417 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5581, allocations: 0 / 0.9417 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.5585, allocations: 323.6 kB / 0.942 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/0.5595, allocations: 269.7 kB / 0.9422 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.5616, allocations: 1.442 MB / 0.9436 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.5621, allocations: 0.9757 MB / 0.9446 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006273/0.5628, allocations: 250.2 kB / 0.9448 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.563, allocations: 107.3 kB / 0.9449 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of SimCode: time 6.51e-07/0.563, allocations: 0 / 0.9449 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of Templates: time 0.3053/0.8683, allocations: 12.51 MB / 0.9572 GB, free: 188.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)