Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.OverAYear_usingOneYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData",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.00636/0.00636, allocations: 101.9 kB / 15.74 MB, free: 6.031 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.001731/0.001731, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.563/2.563, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 68.11 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.255, allocations: 162.3 MB / 1.242 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.00543/0.2605, allocations: 4.517 MB / 1.246 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7019/0.9625, allocations: 150.6 MB / 1.393 GB, free: 1.781 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.9631, allocations: 19 kB / 1.393 GB, free: 1.773 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005254/0.9636, allocations: 172.5 kB / 1.393 GB, free: 1.625 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.9651, allocations: 0.5033 MB / 1.394 GB, free: 1.27 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.9667, allocations: 0.7607 MB / 1.395 GB, free: 0.7188 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.9679, allocations: 1.244 MB / 1.396 GB, free: 15.94 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007033/0.9686, allocations: 0.4939 MB / 1.396 GB, free: 15.64 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.9692, allocations: 414.2 kB / 1.397 GB, free: 15.39 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006829/0.9699, allocations: 423.8 kB / 1.397 GB, free: 15.1 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.9701, allocations: 97.19 kB / 1.397 GB, free: 15.1 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009233/0.971, allocations: 403.5 kB / 1.398 GB, free: 14.95 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003245/0.9714, allocations: 257.5 kB / 1.398 GB, free: 14.75 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.972, allocations: 487.4 kB / 1.398 GB, free: 14.39 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.9741, allocations: 1.416 MB / 1.4 GB, free: 13.37 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.9741, allocations: 0 / 1.4 GB, free: 13.37 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9741, allocations: 3.75 kB / 1.4 GB, free: 13.37 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.388e-05/0.9741, allocations: 0 / 1.4 GB, free: 13.37 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.003158/0.9773, allocations: 1.316 MB / 1.401 GB, free: 12.29 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.9774, allocations: 9.5 kB / 1.401 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/0.9776, allocations: 110.9 kB / 1.401 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004593/0.978, allocations: 114.3 kB / 1.401 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.9796, allocations: 0.7311 MB / 1.402 GB, free: 11.54 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.9797, allocations: 49.44 kB / 1.402 GB, free: 11.51 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.9798, allocations: 63.62 kB / 1.402 GB, free: 11.49 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/0.9817, allocations: 0.7753 MB / 1.403 GB, free: 10.96 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.9817, allocations: 0 / 1.403 GB, free: 10.96 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/0.9818, allocations: 28.09 kB / 1.403 GB, free: 10.94 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.9819, allocations: 16.97 kB / 1.403 GB, free: 10.94 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.9841, allocations: 0.9759 MB / 1.404 GB, free: 10.47 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004877/0.989, allocations: 2.474 MB / 1.406 GB, free: 8.449 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001781/0.9908, allocations: 0.6843 MB / 1.407 GB, free: 8.094 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006023/0.9914, allocations: 249 kB / 1.407 GB, free: 7.961 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.9915, allocations: 30.8 kB / 1.407 GB, free: 7.945 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009774/0.9925, allocations: 420.9 kB / 1.408 GB, free: 7.676 MB / 1.107 GB Notification: Performance of pre-optimization done (n=70): time 3.196e-06/0.9925, allocations: 0 / 1.408 GB, free: 7.676 MB / 1.107 GB Notification: Performance of matching and sorting (n=70): time 0.002345/0.9949, allocations: 0.8395 MB / 1.408 GB, free: 7.258 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.9951, allocations: 241.1 kB / 1.409 GB, free: 6.977 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.9962, allocations: 0.6322 MB / 1.409 GB, free: 6.602 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.9963, allocations: 43.45 kB / 1.409 GB, free: 6.559 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000423/0.9968, allocations: 378.2 kB / 1.41 GB, free: 6.223 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/0.9971, allocations: 227.3 kB / 1.41 GB, free: 6.027 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.9974, allocations: 135.7 kB / 1.41 GB, free: 5.945 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002524/0.9976, allocations: 384.6 kB / 1.41 GB, free: 5.578 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.998, allocations: 202.1 kB / 1.411 GB, free: 5.477 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.9985, allocations: 330.7 kB / 1.411 GB, free: 5.242 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007223/0.9992, allocations: 0.4951 MB / 1.411 GB, free: 4.961 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9992, allocations: 1.062 kB / 1.411 GB, free: 4.961 MB / 1.107 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009966/1, allocations: 0.6434 MB / 1.412 GB, free: 4.633 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1, allocations: 5.875 kB / 1.412 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1, allocations: 1.156 kB / 1.412 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1, allocations: 5.062 kB / 1.412 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/1.001, allocations: 133.6 kB / 1.412 GB, free: 4.602 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.001, allocations: 11.25 kB / 1.412 GB, free: 4.594 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/1.001, allocations: 90.73 kB / 1.412 GB, free: 4.535 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/1.001, allocations: 30.58 kB / 1.412 GB, free: 4.527 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.0002926/1.002, allocations: 247.4 kB / 1.412 GB, free: 4.332 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/1.002, allocations: 85.45 kB / 1.413 GB, free: 4.285 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/1.003, allocations: 0.8516 MB / 1.413 GB, free: 3.82 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/1.003, allocations: 8.938 kB / 1.413 GB, free: 3.82 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.003, allocations: 3.938 kB / 1.413 GB, free: 3.816 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.003, allocations: 9.203 kB / 1.413 GB, free: 3.809 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009964/1.004, allocations: 0.969 MB / 1.414 GB, free: 3.027 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.004, allocations: 7.984 kB / 1.414 GB, free: 3.02 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003908/1.005, allocations: 124 kB / 1.415 GB, free: 2.992 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/1.005, allocations: 6.562 kB / 1.415 GB, free: 2.988 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/1.005, allocations: 28.19 kB / 1.415 GB, free: 2.969 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.005, allocations: 3.75 kB / 1.415 GB, free: 2.969 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/1.005, allocations: 0 / 1.415 GB, free: 2.969 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/1.006, allocations: 0.7369 MB / 1.415 GB, free: 2.57 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/1.006, allocations: 264.3 kB / 1.416 GB, free: 2.336 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.006, allocations: 21.84 kB / 1.416 GB, free: 2.32 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/1.007, allocations: 55.75 kB / 1.416 GB, free: 2.293 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/1.007, allocations: 60.58 kB / 1.416 GB, free: 2.262 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/1.007, allocations: 32.17 kB / 1.416 GB, free: 2.25 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005046/1.007, allocations: 461.7 kB / 1.416 GB, free: 1.988 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.007, allocations: 0 / 1.416 GB, free: 1.988 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0005621/1.008, allocations: 268.5 kB / 1.416 GB, free: 1.914 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.002881/1.011, allocations: 1.789 MB / 1.418 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008002/1.012, allocations: 0.5509 MB / 1.419 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.012, allocations: 3.094 kB / 1.419 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004093/1.012, allocations: 321 kB / 1.419 GB, free: 416 kB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009381/1.013, allocations: 281.1 kB / 1.419 GB, free: 272 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006895/1.02, allocations: 5.54 MB / 1.425 GB, free: 11.4 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/1.02, allocations: 0.9768 MB / 1.426 GB, free: 10.4 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006158/1.021, allocations: 250.3 kB / 1.426 GB, free: 10.15 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004349/1.021, allocations: 331.3 kB / 1.426 GB, free: 9.828 MB / 1.123 GB Notification: Performance of SimCode: time 3.246e-06/1.022, allocations: 0 / 1.426 GB, free: 9.828 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.256/3.277, allocations: 18.67 MB / 1.444 GB, free: 7.426 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.67/29.95, allocations: 11.33 kB / 1.444 GB, free: 7.418 MB / 1.139 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData_fmu --startTime=0 --stopTime=3.66336e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1)