Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_latest_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.005035/0.005035, allocations: 103.5 kB / 15.74 MB, free: 6.043 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.001359/0.001359, allocations: 197.8 kB / 16.68 MB, free: 5.965 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.538/2.538, allocations: 482.6 MB / 0.755 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 67.89 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2616, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005524/0.2672, allocations: 4.527 MB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6231/0.8902, allocations: 150.6 MB / 1.393 GB, free: 1.73 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006238/0.8909, allocations: 19.84 kB / 1.393 GB, free: 1.723 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005506/0.8915, allocations: 171.6 kB / 1.393 GB, free: 1.574 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.893, allocations: 0.5078 MB / 1.394 GB, free: 1.215 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.8946, allocations: 0.7521 MB / 1.395 GB, free: 0.668 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.8958, allocations: 1.245 MB / 1.396 GB, free: 15.89 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006267/0.8964, allocations: 0.4928 MB / 1.396 GB, free: 15.59 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.8968, allocations: 412.7 kB / 1.397 GB, free: 15.34 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004702/0.8973, allocations: 431.5 kB / 1.397 GB, free: 15.04 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.8974, allocations: 97.41 kB / 1.397 GB, free: 15.04 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006083/0.898, allocations: 399.3 kB / 1.398 GB, free: 14.89 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.8983, allocations: 257.3 kB / 1.398 GB, free: 14.7 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003978/0.8987, allocations: 486.8 kB / 1.398 GB, free: 14.34 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.9001, allocations: 1.415 MB / 1.4 GB, free: 13.32 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.9001, allocations: 4 kB / 1.4 GB, free: 13.31 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9001, allocations: 0 / 1.4 GB, free: 13.31 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.9001, allocations: 1.219 kB / 1.4 GB, free: 13.31 MB / 1.107 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.001897/0.902, allocations: 1.315 MB / 1.401 GB, free: 12.23 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.902, allocations: 9.531 kB / 1.401 GB, free: 12.23 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.9022, allocations: 115.1 kB / 1.401 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.9024, allocations: 118.4 kB / 1.401 GB, free: 12.08 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.9034, allocations: 0.7228 MB / 1.402 GB, free: 11.48 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.9034, allocations: 54.38 kB / 1.402 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.436e-05/0.9035, allocations: 63.75 kB / 1.402 GB, free: 11.44 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.9046, allocations: 0.7703 MB / 1.403 GB, free: 10.91 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.9046, allocations: 2.031 kB / 1.403 GB, free: 10.91 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/0.9047, allocations: 31.06 kB / 1.403 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.9047, allocations: 21.66 kB / 1.403 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00126/0.906, allocations: 0.97 MB / 1.404 GB, free: 10.42 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00291/0.9089, allocations: 2.477 MB / 1.406 GB, free: 8.395 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.91, allocations: 0.6749 MB / 1.407 GB, free: 8.047 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.9103, allocations: 251.4 kB / 1.407 GB, free: 7.914 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/0.9104, allocations: 37.62 kB / 1.407 GB, free: 7.891 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005854/0.911, allocations: 421.2 kB / 1.408 GB, free: 7.621 MB / 1.107 GB Notification: Performance of pre-optimization done (n=70): time 1.733e-06/0.911, allocations: 0 / 1.408 GB, free: 7.621 MB / 1.107 GB Notification: Performance of matching and sorting (n=70): time 0.001367/0.9124, allocations: 0.8322 MB / 1.408 GB, free: 7.211 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.9125, allocations: 252.1 kB / 1.409 GB, free: 6.918 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.9132, allocations: 0.6287 MB / 1.409 GB, free: 6.547 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.9132, allocations: 38.98 kB / 1.409 GB, free: 6.508 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.9135, allocations: 371.3 kB / 1.41 GB, free: 6.18 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.9137, allocations: 235.2 kB / 1.41 GB, free: 5.977 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.9139, allocations: 134.9 kB / 1.41 GB, free: 5.895 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9141, allocations: 385 kB / 1.41 GB, free: 5.527 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.9144, allocations: 198.1 kB / 1.411 GB, free: 5.43 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.9148, allocations: 332 kB / 1.411 GB, free: 5.195 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.9156, allocations: 0.4989 MB / 1.411 GB, free: 4.91 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9156, allocations: 0 / 1.411 GB, free: 4.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009767/0.9166, allocations: 0.6422 MB / 1.412 GB, free: 4.582 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.9166, allocations: 5.469 kB / 1.412 GB, free: 4.582 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.9166, allocations: 1.094 kB / 1.412 GB, free: 4.582 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.9166, allocations: 4.938 kB / 1.412 GB, free: 4.582 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.9171, allocations: 137.6 kB / 1.412 GB, free: 4.547 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.9171, allocations: 14.28 kB / 1.412 GB, free: 4.539 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.9175, allocations: 87.2 kB / 1.412 GB, free: 4.484 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.9176, allocations: 26.67 kB / 1.412 GB, free: 4.477 MB / 1.107 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.0002884/0.9179, allocations: 250.9 kB / 1.412 GB, free: 4.277 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.918, allocations: 89.78 kB / 1.413 GB, free: 4.227 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.9194, allocations: 0.8484 MB / 1.413 GB, free: 3.766 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.9194, allocations: 8.312 kB / 1.413 GB, free: 3.766 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.9194, allocations: 7.25 kB / 1.413 GB, free: 3.762 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.9195, allocations: 3.984 kB / 1.413 GB, free: 3.758 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009813/0.9204, allocations: 0.9649 MB / 1.414 GB, free: 2.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.9205, allocations: 0 / 1.414 GB, free: 2.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.9209, allocations: 128 kB / 1.414 GB, free: 2.949 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.9209, allocations: 11.03 kB / 1.414 GB, free: 2.941 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.9209, allocations: 27.72 kB / 1.415 GB, free: 2.922 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.9209, allocations: 3.469 kB / 1.415 GB, free: 2.922 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9209, allocations: 1.219 kB / 1.415 GB, free: 2.922 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.922, allocations: 0.7398 MB / 1.415 GB, free: 2.52 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.9223, allocations: 265.5 kB / 1.416 GB, free: 2.285 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.9224, allocations: 21.72 kB / 1.416 GB, free: 2.27 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004566/0.9228, allocations: 54.38 kB / 1.416 GB, free: 2.242 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.923, allocations: 58.27 kB / 1.416 GB, free: 2.215 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.923, allocations: 32.27 kB / 1.416 GB, free: 2.203 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004842/0.9235, allocations: 455.6 kB / 1.416 GB, free: 1.945 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9235, allocations: 1.25 kB / 1.416 GB, free: 1.945 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005397/0.9241, allocations: 267 kB / 1.416 GB, free: 1.871 MB / 1.107 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.002833/0.9269, allocations: 1.801 MB / 1.418 GB, free: 0.7266 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0007719/0.9277, allocations: 0.5472 MB / 1.419 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9277, allocations: 320 / 1.419 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.9281, allocations: 332.4 kB / 1.419 GB, free: 356 kB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/0.9291, allocations: 276.6 kB / 1.419 GB, free: 216 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006692/0.9358, allocations: 5.534 MB / 1.425 GB, free: 11.35 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.9363, allocations: 0.9846 MB / 1.426 GB, free: 10.34 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005771/0.9369, allocations: 246.2 kB / 1.426 GB, free: 10.1 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000429/0.9373, allocations: 331.3 kB / 1.426 GB, free: 9.773 MB / 1.123 GB Notification: Performance of SimCode: time 2.51e-07/0.9373, allocations: 0 / 1.426 GB, free: 9.773 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.326/2.264, allocations: 18.68 MB / 1.444 GB, free: 7.387 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/15.37, allocations: 26.12 kB / 1.444 GB, free: 7.367 MB / 1.139 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1)